Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 12 Views: 1,202 /(/([\d]{2,10}[\w][/s])|([\w][\d]{2,10}[/s])|([\w][\d]{2,10}[\w][/s])|[\d]{2,10}[\w]|([\w][\d]{2,10})|([\w][\d]{2,10}[\w])/
or would I have to specify without white spaces too? This epxression... |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 12 Views: 1,202 I think I've mostly figured out the code
I've added white spaces to the ends of each option
/([\d]{2,10}[\w][/s])|([\w][\d]{2,10}[/s])|([\w][\d]{2,10}[\w][/s])/;
will the expression pass if there... |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 12 Views: 1,202 Would it be asking too much to put in english waht this expression says...
/[\w\s][\d]{2,6}/;
Thanks. Oh, is there documentation that would further explain the options for the above type of... |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 12 Views: 1,202 Hi,
I tried out your code. What input did you use to test it. I tried
Tami 33
and it said I still needed two numeric values.
I'm looking to verify basically as much as possible at least one name... |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 12 Views: 1,202 Thank you. So this will not error out as long as one types alpha caracters and at least two number?
I'll have to give it a shot. Is this easily integrated into the big code that I showed you or... |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 12 Views: 1,202 Not exactlywhat I mean...I think.
Heres the full code. You will easily see what I am trying to do.
In a nutshell, we have to ask form filler outer the names and ages of all in their household.... |
Forum: JavaScript / DHTML / AJAX Dec 16th, 2008 |
| Replies: 12 Views: 1,202 I have a field set as number (num) for validation. The code below will only allow numbers to be accepted in the field.
I would like to modify it such that is MUST have at least two numbers and as... |
Forum: JavaScript / DHTML / AJAX Dec 7th, 2008 |
| Replies: 1 Views: 1,577 Is there a way to see why this particular javascript validator is not affecting the submission of this form. It submits with all fields empty.
Here's the simple code
<?php
... |