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

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

Agency Business Process
Hi,

I don’t understand the process of the agency business in SAP.

In my

Multiple PHP errors when clicking a link..and..removing a ghost..
Hi - I have 2 problems with a new website - homeswapvacations.com, which I need help solving.

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

onClick='location.href=index.htm'> not working
Below is my code:

echo "<input type='button' value='redirect' onClick='location.h

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

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