I have text box which will accept number or alphabets based on my requirements
Ex: 1234 - correct, abcd - correct, 123abc - wrong
So i need 'my_texbox' => 'alpha|numeric' as or condition but i was by default and condition.
Is there any way to achieve this other than custom validation?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire