Announcements
No record found.
Hi,
I want to not allow users to input letters on the phone field
can i do a controle on the phone field ?!!
Thanks
*This post is locked for comments
Hi happyman,
You can accomplish this by preventing the keyPress event from occurring for non-numeric values with JavaScript and jQuery.
Hello,
You can try something like this:
function ValidateNumber(value)
{var regexp = /[^0-9]/g;
if (value.search(regexp) == -1) {
alert('invalid');
} else {
alert('valid');
}
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1