Hello Everyone,
I am trying to do a password length check by usign the JS Client Validation. My field is named password and I have checked it as required.
I add a JS Client Validation to my form and then I insert
As it appears there is no action taken.
The debugger show no errors.
Am I doing something wrong?
Thanks a lot in advance.
I am trying to do a password length check by usign the JS Client Validation. My field is named password and I have checked it as required.
I add a JS Client Validation to my form and then I insert
password:8 in the field minimum length.
As it appears there is no action taken.
The debugger show no errors.
Am I doing something wrong?
Thanks a lot in advance.
Hi hellykun,
The JS Client validtaion action in v5 has some bugs and will be fixed in the new release, for now its better to remove it and use the "Custom function" under the validation tab in your field settings, and just write a function to do the validation for you!
Regards,
Max
The JS Client validtaion action in v5 has some bugs and will be fixed in the new release, for now its better to remove it and use the "Custom function" under the validation tab in your field settings, and just write a function to do the validation for you!
Regards,
Max
Hello Max,
I tryed this on a textfield but it doesn't work, here is the snapshot :
[attachment=0]2014-06-11_18h50_15.png[/attachment]
and here is the code for this field :
Where is my error ?
Thx for answers
PS: J! 3.3.0, CF 5.0 RC6
The JS Client validtaion action in v5 has some bugs and will be fixed in the new release, for now its better to remove it and use the "Custom function" under the validation tab in your field settings, and just write a function to do the validation for you!
I tryed this on a textfield but it doesn't work, here is the snapshot :
[attachment=0]2014-06-11_18h50_15.png[/attachment]
and here is the code for this field :
<div class="gcore-line-tr gcore-form-row" id="ftr-text6"><div class="gcore-line-td" id="ftd-text6"><label for="text6" class="gcore-label-left">Code postal</label>
<div class="gcore-display-table gcore-input" id="fin-text6"><input name="text6" id="text6" value="" placeholder="" maxlength="" size="15" class=" validate['required']" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /><label class="gcore-sub-label">Exemple : 75001, 47000,...</label></div>
Where is my error ?
Thx for answers
PS: J! 3.3.0, CF 5.0 RC6
This topic is locked and no more replies can be posted.
