Dear Developers and other users,
I encountered a issue where the Multi Field would disable the `Save` + `Save & Close` buttons in the backend of the component.
What did I do:
1. I added a container.
2. I created a Multi Field into this container.
3. I added two(2) Submit Buttons.
4. I renamed the first button to: submit for the Name,ID,Type & Value with the value field having a capital letter.
5. I renamed the second button to reset for the Name,ID,Type & Value with the value field having a capital letter.
6. I pressed save on the modal window which closes nicely.
7. Then I scrolled to the `Save` and the `Save & Close` buttons.
8. Clicked at least 10 times but nothing happens.
I checked into development mode, debug but nothing useful into it that could help you guys or I am missing something.
I came up with the following sollution
Instead of renaming (step4) the button to `submit` I renamed it to `buttonsubmit`. And I renamed (step5) not to `reset` but to `buttonreset` then saved the modal and saved the form.
Now it is working. So basically this forum message is dualsided. One side is to simply inform users on how to make it work if they are encountering the same issue. The other side is that I would like to know why we can't use the simple `submit` and `reset`?
I encountered a issue where the Multi Field would disable the `Save` + `Save & Close` buttons in the backend of the component.
What did I do:
1. I added a container.
2. I created a Multi Field into this container.
3. I added two(2) Submit Buttons.
4. I renamed the first button to: submit for the Name,ID,Type & Value with the value field having a capital letter.
5. I renamed the second button to reset for the Name,ID,Type & Value with the value field having a capital letter.
6. I pressed save on the modal window which closes nicely.
7. Then I scrolled to the `Save` and the `Save & Close` buttons.
8. Clicked at least 10 times but nothing happens.
I checked into development mode, debug but nothing useful into it that could help you guys or I am missing something.
I came up with the following sollution
Instead of renaming (step4) the button to `submit` I renamed it to `buttonsubmit`. And I renamed (step5) not to `reset` but to `buttonreset` then saved the modal and saved the form.
Now it is working. So basically this forum message is dualsided. One side is to simply inform users on how to make it work if they are encountering the same issue. The other side is that I would like to know why we can't use the simple `submit` and `reset`?
Hi hennysmafter,
I haven't experienced this myself or seen it reported but calling buttons 'submit' can cause problems. As I understand it some versions of IE and some versions of JavaScript get confused if there are form elements named 'submit' and this can block the JavaScript 'submit() methods from working correctly - and the form does not submit.
To avoid this I give submit buttons the name and ID submit_btn instead - and I guess the same applies to reset buttons.
Bob
I haven't experienced this myself or seen it reported but calling buttons 'submit' can cause problems. As I understand it some versions of IE and some versions of JavaScript get confused if there are form elements named 'submit' and this can block the JavaScript 'submit() methods from working correctly - and the form does not submit.
To avoid this I give submit buttons the name and ID submit_btn instead - and I guess the same applies to reset buttons.
Bob
This topic is locked and no more replies can be posted.