Small issues with multi-page forms
-
I have created a multi-page form per the instructions on https://advancedforms.github.io/guides/configuring-your-form/#making-a-multi-page-form and am having a couple issues with the user experience of filling out the form.
No matter what page I’m on, if I hit enter (other than in a multiline textarea), rather than activating the “Next” button, validating the current page, and proceeding to the next, it instead tries to submit the form, triggering validation for the whole thing, and if there are required fields on later pages displaying “Validation failed. ## fields require attention”, and not advancing to the next page, which is awkward and confusing for the user, especially if there are no validation issues on the current page, and additionally would result in a lot of missed questions if there are subsequent pages without required fields to prevent submission.
Additionally, if, while on the second page or later, I click the “Previous” button at the bottom of the form, I can get back to the prior page as expected, but if I click the page I want to get to in the top bar, it triggers validation on the current page, and won’t let me go back if there are errors/empty required fields.
I can probably work out the javascript to fix both of these issues for myself, but if it’s not just me I imagine these should be corrected in the plugin itself.
- The topic ‘Small issues with multi-page forms’ is closed to new replies.