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
- Added math hook & validation to snippet call
- Added math input field
- Entered incorrect number answer in math form field
- 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