BUG Validation and conditions
-
I want to report a bug. If I create a field required and email validation, it works, but if I create a condition to only validate this field in one case, this only scape de required validation, the form try to do email validation although this field have a condition to not be valitaded.
Another bug, if I create a field with placeholder the required validation if not working because javascript is taking placeholder as field value. I fix changing this line:
201 return (fm_trim(e.value) != “”);
by
201 return (fm_trim(e.value) != “” && e.value != e.placeholder);
Thanks for the plugin.
The topic ‘BUG Validation and conditions’ is closed to new replies.