Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Refer to other elements when validating?
Junior Member

Posts: 5
Registered: 11/5/2004
Location: Midrand, South Africa
Member Is Offline
posted on 6/15/2005 at 09:48 AM Reply With Quote
Refer to other elements when validating?

Hello all,

Is it possible, without making things overly complicated, to refer to other elements when validating?

Lets say for instance you want to make sure that the value of a specific element in your form is NOT bigger than the value of another element in the same form?

<input name='e1'>
<input name='e2'>

How can my validation make sure that e2 is not bigger than e1?

I know that you can do password type "matching", but tis will not work for obvious reasons.

I can do it by writing a fucntion, but surely this is also possible using the validator?

Thank you in advance.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Multiple Forms Validation
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004