Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Custom Form Validation (in CMS)
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Custom Form Validation (in CMS) | 266 Views |
-
Custom Form Validation (in CMS)

8 November 2008 at 12:10am Last edited: 8 November 2008 12:11am
I'm looking to make a comparison between two fields that exist on a form lets say they are called elementA and elementB; what i need is for a validator to check whether elementA < elementB and return false if it is with a nice pretty error.
I modified ConfirmPasswordField and got the js errors working but the message didn't disappear when it validated and the second field didn't save in the database.
the code used to instigate the attached file is as follows
new SlotQuotaField("Slots")
Thanks in advance
| 266 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: paul.mcilwaine, motly, jondbaker
Welcome to our latest member: fearofbuttons
