You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: The option to include JS support enqueues a script that is supposed to only clear the data on invalid form submission. That means existing functionality is not working as expected. However, the JS support option does not explicitly promise data persist on form submission so it's more of a "soft" bug.
Is your enhancement related to a problem? Please describe.
When filling out a form, if a user does not pass a validation check then the entire form will be lost. This is with JavaScript support enabled.
form-data-lost-on-validation-fail.mov
Designs
Non JavaScript solution - will work with or without JS
We can repopulate the
<input>
fields on failed submission with the submitted value from the$_POST
variable in the mailchimp_form_field function.JavaScript is enabled (optional)
Describe alternatives you've considered
Considering that a user could become frustrated and leave without re-attempting form submission I think this is worth fixing.
Code of Conduct
The text was updated successfully, but these errors were encountered: