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

When using math hook, form submits if a number is entered in the field whether it is correct or not #283

Open
CamilleBeaute opened this issue Feb 7, 2023 · 0 comments

Comments

@CamilleBeaute
Copy link

Bug report

Summary

When using math hook, form submits if a number is entered in the field whether it is correct or not

Step to reproduce

  1. Added math hook & validation to snippet call
  2. Added math input field
  3. Entered incorrect number answer in math form field
  4. Click submit, form data is submitted via email

Observed behavior

Form submits if a number is entered in the field whether it is correct or not

Expected behavior

Form data should not submit and prompt user to enter the correct solution to the math problem

Environment

MODX 3.0.1-pl
Chrome

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