Skip to content
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

Error highlighting doesn't work #204

Open
kussberg opened this issue Dec 17, 2020 · 0 comments
Open

Error highlighting doesn't work #204

kussberg opened this issue Dec 17, 2020 · 0 comments

Comments

@kussberg
Copy link

Describe the bug
When adding new required fields, they are not highlighted red after submission.

To Reproduce
Steps to reproduce the behavior:

  1. Add field that is required.
  2. Submit the empty form.
  3. Basic fields are highlighted red, added field stays white.

Screenshots
Screenshot 2020-12-17 at 14 00 20

Expected behavior
Additional fields will also get the error class and be highlighted as default fields on the top.
Classes in case of an error:
Currently is: class="company input pmpro_required pmpro-required"
Should be: class="input pmpro_error pmpro_required"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant