I'm building a multipage form.
Now the user must be able to decide wether to use the submit-action for to finish the form OR to go to the next page.
How can I do this? Two submit-button?
Submit-button type "botton" does not work. Why?
Where can I find an instruction?
Please give me a tip ...
Hi hcohl,
You can use two submit buttons and an Event Switcher action in the next event. The Event Switcher would check the value of the Submit Button that was pressed and then either load the HTML (Render Form) action for the next page or continue to the Submit event.
I would probably use an Event Switcher with one event 'submit' and Use an Event Loop action in that to load the 'Submit' event - otherwise continue to the remaining actions after the Event Switcher.
Bob
Thank you - that will help me.
But can you tell me: what means "type" in designer > submit-button. You can choose "submit", "reset" and "button". How does this work? Where can I find an instruction?
Hi hcohl,
A reset button will reset the form to its original state, a submit button will send it, and a normal button can be used for other purposes.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thank you for your answer.
But how does the submit-button type: button work?
Submit-button > type: submit > on submit (under setup) > action f.e. send e-mail
Submit-button > type: button > on button (under setup)?? > action f.e load form
Hi hcohl,
If you want to submit the form then you need to use a button of type 'submit'. As I said before you can check the value - the text displayed' after the form submits to see which button was clicked.
A plain button can be used as a link to some other page - or with JavaScript to carry out some other action in a form - to show/hide a section for example.
Bob