If a form with conditional fieldsets is reloaded with errors, the fields on which the fieldset listens might still be filled/selected, but the corresponding fieldset is not shown accordingly.
In my instance this was the case with a radio ('Yes'/'No') and a fieldset containing a <input type="tel"> (and of course a submit button).
I selected 'Yes', got the input, typed some letters (not numbers), sent the form, the page was reloaded with the page title (in the tab) saying "Das Formular konnte nicht gesendet werden" (german for "Form could not be sent") and the fieldset was hidden.
Are the conditions possibly only checked on change, not on load?
If a form with conditional fieldsets is reloaded with errors, the fields on which the fieldset listens might still be filled/selected, but the corresponding fieldset is not shown accordingly.
In my instance this was the case with a radio ('Yes'/'No') and a fieldset containing a
<input type="tel">
(and of course a submit button).I selected 'Yes', got the input, typed some letters (not numbers), sent the form, the page was reloaded with the page title (in the tab) saying "Das Formular konnte nicht gesendet werden" (german for "Form could not be sent") and the fieldset was hidden.
Are the conditions possibly only checked on
change
, not onload
?