gum1982 Posted October 29, 2009 Share Posted October 29, 2009 Hello I know this is a really vag question. I need to have a input field on a form that only submit's if the text inserted starts with any two letters and any four numbers after. example se1233 bg1324 gb8733 So these would work. I know i need to perform some validation, i just need a push in the right direction. i'm not sure what to google. Any help please. Link to comment https://forums.phpfreaks.com/topic/179486-validation/ Share on other sites More sharing options...
seanlim Posted October 29, 2009 Share Posted October 29, 2009 google for "regular expresssions". it will be able to match specific number of alphabets/numbers Link to comment https://forums.phpfreaks.com/topic/179486-validation/#findComment-946996 Share on other sites More sharing options...
gum1982 Posted October 29, 2009 Author Share Posted October 29, 2009 ok thanks Link to comment https://forums.phpfreaks.com/topic/179486-validation/#findComment-946997 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.