Home › Forums › Quform WordPress › digits validator not working?
- This topic has 7 replies, 2 voices, and was last updated 1 year, 5 months ago by
Ally.
- AuthorPosts
- November 6, 2023 at 11:26 am #36162
a.lettieri
ParticipantHello,
Digit validator has 2 issues:
1) it only works when the field is mandatory. When it’s not, it lets me put letters as well with no warnings.
2) when I customize the error message, and the field is mandatory, if I put letters in the field it shows the mandatory field warning, not the customized one.Can anyone help me?
November 6, 2023 at 11:27 am #36163a.lettieri
ParticipantI only tried the digit validator, not sure if the other ones are working correctly to be honest.
November 7, 2023 at 9:31 am #36165Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 1 year, 5 months ago by
Ally.
November 7, 2023 at 9:49 am #36168a.lettieri
Participant1. Not true. https://screenpal.com/watch/c0XiQkVGiLI As you can see form is submitted even with letters in the field. Check attachment for my validators settings. What am I missing?
2. Ok thanks, I’ll remove the filter then.
Attachments:
You must be logged in to view attached files.November 8, 2023 at 9:54 am #36175Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 8, 2023 at 10:47 am #36177a.lettieri
ParticipantI think I get it now: since it’s not a required field, if a user puts letters in it the filter will strip them and move on to the next step\submit, so it doesn’t warn the user that he has to put only numbers.
Guess I either remove the filter as you said or make it a required field to make it work.November 8, 2023 at 10:53 am #36178a.lettieri
Participantthe only thing is that since the filter has a priority over the validation, like you explained before, it will only show that it’s a mandatory field and not why it won’t proceed. I guess I have to trust the user on that being self-explanatory.
Attachments:
You must be logged in to view attached files.November 8, 2023 at 11:07 am #36181Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 1 year, 5 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.