Maximus007
Technical User
I have an input field that populates a comma after the third number:
code:
<input type="text" onkeyup="this.value = (this.value.length == 3) ? this.value + ',' : this.value">
in my validating how can I allow the comma and have check for that number only.
code:
if (isNaN(dd.value)) {rdd.innerText = 'Please enter 6-digit number'; return false;}
code:
<input type="text" onkeyup="this.value = (this.value.length == 3) ? this.value + ',' : this.value">
in my validating how can I allow the comma and have check for that number only.
code:
if (isNaN(dd.value)) {rdd.innerText = 'Please enter 6-digit number'; return false;}