Registration is currently disabled.
Please replace the ??? with your dat!
- URL to the FORM: http://findmeadebtsolution.co.uk/?page_id=3w
- The browser used: ???
- cforms version: Latest
- Your Wordpress version: Latest
Hi, I want to write some custom validation routines for my cforms – I know I can use reg expressions in the form creation but really want to be able to call a routine to validate the input and return something to the form indicating that that particlar field has failed.
So can someone give me a simple example to get me started.
If I have a text feld (e.g. Name) and want to validate it is a string and has more than 10 characters – how and where would I write my own routine to do this check? How would I return a value indicating that a field has failed validation – can someone give me a solid example.
I repeat – I know I can do this using regulrar expressions when I decalre the form – but want this to start me off.
March 6, 2005
Just done a search on that item … and all that came up was my post.
Could you please give me a link.
PS cForms is increbile.
Got it ….
Now I have to try it out.
This guy did it….
for non ajax mode, wonderfull…
i implemented a invitation key validation, which checks the database for valid keys.
i had to tweak the lib_validation.php … perhaps you like to add this tweak to the official release.
PS: Besides … GREAT WORK Oliver !
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3552
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)