Generating a submit button
-
I found that when generating a submit button that the order of items was incorrect and resulted in not displaying correctly on the public form:
Generated version:
[submit "Submit" id:submit-id class:custom-button]The label, custom class and ID values would then be ignored. I had to change the order:
Accepted version:
[submit id:submit-id class:custom-button "Submit"]How can this be changed in the code so that when the field is generated its attributes are ordered correctly? I’ve also created custom modules to support an extra form field (reset button) and based it off the submit module.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Generating a submit button’ is closed to new replies.