Hi Experts,
In one of my Survey question i need to validate the participants should enter only 8 numbers. I have achieved using the below jquery code.
And now i also want to restrict special characters. Please help how to achieve this,
Below code used to restrict only 8 numbers.
jQuery("#"+this.questionId+" .InputText").each(function () {
jQuery(this).on("input", function() { this.value = this.value.substr(0,8); });
Thanks in Advance,
Krishna Prabhu
Best answer by TomG
View original