If field valid then reveal button
-
Hi,
I have a button that I try to program for: OnClick check for all required fields filled. If they are: reveal a hidden field, else: the default highlight field with the error message “required field data missing.”
I tried this formula in the OnClick event for the button, but can’t get it working:
if(jQuery(this.form).valid()) jQuery(‘.kontaktuppgifter *’).removeClass(‘hide’);The error message displays when field data missing but the button do not reveal hidden field when correct data is filled out in the required fields.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If field valid then reveal button’ is closed to new replies.