Conditionally display submit button, then redirect form when submitted
-
Hi,
You posted this advice on a previous resolved question, about how to conditionally show a submit button on a form.
This works fine for me. However, when I include the submit button in this way, the redirect URL doesn’t work.
Is there any way to edit this code:
jQuery(this.form).submit();to include a redirect URL?
Thank you!
If you want show a submit button when a checkbox or radio button is checked, the process is very straightforward:
– Select the “No” option for the attribute: “Display submit button?” in the form’s settings.
– Insert a button in the form, and convert it in a submit button entering as its onclick event, the piece of code:
jQuery(this.form).submit();
– Select the radio button or checkbox field in the form, and then, click on the link: “Show dependencies” in its settings (specifically in the choices section)– And finally, select the button field from the list of dependent fields corresponding to the choice.
Best regards.
The topic ‘Conditionally display submit button, then redirect form when submitted’ is closed to new replies.