Is't possible, in an add dialog, to block the focus on a field with controls how required, numeric, … if not correctly digited ?
Thanks for any suggestion
Your ticket was somehow missed and checking now.
Perhaps, it's too late but it may help someonhe.
Solution could be to apply some 3rd party input mask library.
Also check faq: How to mask a field, for example like this: (NN) NNNN-NNNN ? N stands for number.
My interest isn't to mask an input field but on the possibility to block the focus in in that field in which have been inserted erroneous values instead of highlight the error in the add or edit dialog.
What one can do is to validate field using JS function on blur event of field.
And if it is incorrect, reset it's focus on that field.
Refer line 62 and 127.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!