You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client side validation of empty fields, by setting a custom handler in JFormValidator, is not possible. Yes I know I can use the required field attribute, but I don't want that in this case. I definitely would, if fields hidden by a showon attribute would be excluded from validation. But that's not the case. So I'm trying to implement my own client side validation, but my validation routine never gets executed for empty fields.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Client side validation of empty fields, by setting a custom handler in
JFormValidator
, is not possible. Yes I know I can use therequired
field attribute, but I don't want that in this case. I definitely would, if fields hidden by ashowon
attribute would be excluded from validation. But that's not the case. So I'm trying to implement my own client side validation, but my validation routine never gets executed for empty fields.Why is that?
Beta Was this translation helpful? Give feedback.
All reactions