App Connect Form Validator Support Product Page

How to show a region once the form IS Valid?

Reported 03 Aug 2023 21:20:53
1
has this problem
03 Aug 2023 21:20:53 Bobby Edgar posted:
I have tried hiding them when a form is invalid, but it's unreliable as far as then releasing it to view when the form becomes valid.


<input name="some_form" type="text" required="" class="form-control" id="inp_some_form" onClick="MM_showHideLayers('inp_some_forms_needed','','hide');" data-msg-required="Email Address Required" data-rule-email="">
<small class="form-text text-primary" id="inp_some_form_needed">What's Your Email Address?</small>
<small class="form-text text-success" id="inp_some_form_success" dmx-show="(inp_some_form.value != find_email.data.which_email[0].some_form)" dmx-hide="(inp_some_form.invalid)">Email Accepted</small>
<small class="form-text text-danger" id="inp_some_form_duplicate" dmx-show="(inp_some_form.value == find_email.data.which_email[0].some_form)"><strong>That Email Address Is Already In Use</strong></small>

Reply to this topic