-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple fields in one <validate> block? #133
Comments
BTW, the only way I've found to achieve what I want is to have duplicate but hidden fields underneath the real ones:
but this doesn't get the required styling on the visible inputs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to have 3 validated inputs and have all their errors appear in the same place, after all the inputs.
Minimal replication: https://codepen.io/jezmck/pen/oNjyXBm
Only one of the inputs is validated, kinda. The message for the first input can appear when the second is invalid etc.
I don't know whether I'm missing something, but why is the
name
attributesmandatoryavailable if there can only be 1<field-messages>
tag per<validate>
tag?The text was updated successfully, but these errors were encountered: