I have used the below
<input type="text" value="" class="input-text required-entry validate-number validate-length minimum-length-4 maximum-length-8" title="Purchase Order" name="custom1" id="custom1">
For validating length the maximum-length-8 works. But minimum-length-4 not working. Somebody please let me know if you have any solution
sv3n
11.7k7 gold badges44 silver badges75 bronze badges
-
this seems correct, can you share a link OR full form's HTML that contains this element ?Anil Suthar– Anil Suthar2016年06月16日 12:16:41 +00:00Commented Jun 16, 2016 at 12:16
-
Did you able to find any solution for this issue? if so can you please update here.Zahirabbas– Zahirabbas2018年10月22日 15:14:04 +00:00Commented Oct 22, 2018 at 15:14
1 Answer 1
try this
<input type="text" id="custom1" name="custom1" title="Purchase Order" class="input-text required-entry validate-length maximum-length-8 minimum-length-4 validate-digits">
answered Jun 16, 2016 at 12:24
Abdul
9,7291 gold badge22 silver badges44 bronze badges
-
when using validate-digits also its not workingvinothavn– vinothavn2016年06月16日 12:42:25 +00:00Commented Jun 16, 2016 at 12:42
Explore related questions
See similar questions with these tags.
default