Alpha numeric field validation

QuestionsAlpha numeric field validation
german asked 5 years ago

How to restrict the special characters like &,% and , in alpha numeric field

3 Answers
Abu Ghufran Staff answered 5 years ago

Refer demo http://phpgrid.org/demo/demos/editing/js-validation.phps

Line 98, 146

It uses custom JS function for field validation. You can change the IF condition to stop these characters using regex or JS code.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
german answered 5 years ago

hi abu,   i refered this sample but i could find the function for only alpha numeric data.I would like to use like regular expression or preg_match

Abu Ghufran Staff answered 5 years ago
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

14 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?