Setting condidtions for an input box


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

Hi all,

I would like to set a condition in a txt box that says the number a user enters has to be in the following format

Did you know?Explore Trending and Topic pages for more stories like this.
###-#-##-##

Would I use PHP to do this or is it part of the HTML form?
No comments posted yet

Your Answer:

Login to answer
85 Like 43 Dislike
Previous forums Next forums
Other forums

Passing Arguments to execlp()
I'm writing a program that mimics a unix shell. It's supposed to take commands with arguments and ex

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

Need PHP help... have all the elements... just need help putting them together :
Hey Guys,

I was wondering if someone could help me. I am doing a website for a client which

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

FILTER_CALLBACK -- Files?
Hi All,

I'm using the php filter functions to validate my form data. For custom filters, I'm

need help in mysql_num_rows()
please tell me what i am doing wrong in this query. it displays this error

Code: Warning: mys

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

Problem!
I have another problem, when i run this code i get this error "Parse error: syntax error, unexp

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

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