- November 6, 2023 at 11:26 am #36162
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 #36163
I only tried the digit validator, not sure if the other ones are working correctly to be honest.November 7, 2023 at 9:31 am #36165November 7, 2023 at 9:49 am #36168November 8, 2023 at 9:54 am #36175November 8, 2023 at 10:47 am #36177
I 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 #36178
the 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 #36181
- You must be logged in to reply to this topic.