Validation


Posted on 16th Feb 2014 07:03 pm by admin

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.

No comments posted yet

Your Answer:

Login to answer
205 Like 22 Dislike
Previous forums Next forums
Other forums

RSS poster script?
I have found a script that posts RSS's for me on a site that I'm building. However I would like to a

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Open link with largest int string first
I have the following links i would like to open either all at once or one-by-one. How would i procee

Search function
I am looking for some guidance from the experts.

I am trying to create a search function. It

Comma seperated implode & modifying returned string.
I have a PHP post form that posts up to 4 variables. I need whatever variables are passed to be comb

Comparing Values
Hi
I'm reading data from a database and this seems to work OK.

Each system has an associat

Problem with PHP code- simple contact form
Hi Folks,
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a co

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash