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
[Abide] Separating out error messages #10799
Labels
Projects
Comments
soylent
added a commit
to soylent/foundation-sites
that referenced
this issue
Feb 24, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
soylent
added a commit
to soylent/foundation-sites
that referenced
this issue
Feb 24, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
soylent
added a commit
to soylent/foundation-sites
that referenced
this issue
Feb 24, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
soylent
added a commit
to soylent/foundation-sites
that referenced
this issue
Feb 24, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
11 tasks
soylent
pushed a commit
to soylent/foundation-sites
that referenced
this issue
Oct 7, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
soylent
pushed a commit
to soylent/foundation-sites
that referenced
this issue
Oct 8, 2019
Now you can add different error messages for each validator using the `[data-form-error-on]` attribute. <input required type="email"> <span class="form-error" data-form-error-on="required">Required</span> <span class="form-error" data-form-error-on="pattern">Invalid</span> BREAKING CHANGE: `Foundation.Abide#validateText()` no longer checks if the input is required. Use the `Foundation.Abide#requiredCheck()` method for that. Closes foundation#10799
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great to separate error messages e.g. for an empty required field vs a field filled with invalid data.
Something like that:
The text was updated successfully, but these errors were encountered: