Blank values for hidden fields on form submission #1569
wolispace
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Hi @wolispace We're using this library to validate emails, as well as a check for All of the validations happen in the backend, so it can't be bypassed in the front-end. Could you describe how your Email Field is set up, please? And is it possible for you to reproduce the same Edit: I see that it might be caused by a person filling in the email field and then having a rule hiding it - in that case, the validation is skipped. We will look into this issue, to make sure the notifications aren't triggered if the field has been hidden by rules. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have an Email field for the user to enter their email address in.
Its visibility is controlled by a radio button on the form "Do you want to be contacted"
If the user entered a dodgy email address eg "NA" then toggles the visibility of the Email field OFF:
Is there a way of blanking the Email field if its not visible when the Submit button is pressed?
The only Rules I can see toggle visibility not content.
Craft Pro 4.12.5
Freeform 5.6.3
Beta Was this translation helpful? Give feedback.
All reactions