This is a discussion on "dsValidator : form validation library" within the JavaScript Forum section. This forum, and the thread "dsValidator : form validation library are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
dsValidator : form validation library
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
dsValidator : form validation library
I originally posted this in the tutorials section (http://www.webforumz.com/topic.asp?TOPIC_ID=1305) but not many of you got to read it so I'll try it here:
<hr noshade size="1"> http://www.primeappliances.com/dsvalidator/ I hate documenting things so there's no such thing as a manual yet. but if you know your stuff and you're feeling adventurous, check it out and let me know what you think. the basic idea is: we all know that forms have a collection of controls (that belong to that form). so I coded all these little validation scripts to check phone numbers, email, addresses, postcode and all sorta things. then, I added my own attributes to the controls: <input type=text dsType=Postcode name=postcode id=postcode> I don't know if this is valid, but it works beautifully so I'm not that bothered... but i'd like to know...... then I added this to my forms: onsubmit="return ValidateForm(this);" so that function goes through every control in the form and validates it according to the attributes of every individual element. and the script is the same for every form and every page, all I change are the attributes.... but of course, I added a whole lotta fancy things to it so you guys gotta go see it for yourselves. this is only i beta version and I'm interested to know what you guys think of it. the code is free to use... do whatever you want with it but please leave the copyright message alone.... for the future (after I've had some feedback): there are a few issues I need to sort out and a few little bits I want to implement later on so if anyone is interested, just let me know.....
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|
|
|||
|
Thanks
|
|
||||
|
for what? hehe
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
where are you guys?
got nothing to say about this? where's everyone??????
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| dsvalidator, form, validation, library |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Form validation help! | psycho wolvesbane | JavaScript Forum | 16 | Feb 12th, 2008 16:40 |
| Form Validation | cjrollo | Flash & Multimedia Forum | 0 | Feb 22nd, 2007 17:33 |
| Form Validation | feebee | JavaScript Forum | 1 | Aug 3rd, 2006 16:12 |
| PHP Form Validation. | kaz | PHP Forum | 2 | Jul 22nd, 2006 20:47 |
| Form Validation Help | gajlehab | PHP Forum | 7 | Dec 13th, 2005 19:40 |