BUG: javascript disabled fields flagged as invalid.
-
Dear Miyoshi-san
if a field that is initially tagged as ‘required’ but is dynamically disabled using javascript (and therefore not submitted in the $_POST action), the
scripts.js
still flags it as invalid.To correct this bug, I suggest the following check added to
scripts.js
at line 247.if($( '.wpcf7-form-control', this ).is(':disabled')){ return; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘BUG: javascript disabled fields flagged as invalid.’ is closed to new replies.