Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 17th September 2011, 18:46
xaver xaver is offline
Join Date: May 2009
Posts: 77
Thanks: 10
Thanked 25 Times in 14 Posts
Default Validation with JS of the <form>


i tested something at home.
-> it scroll back to first error or if you jump in and left it invalid
-> really easy to integrate e.g. attribute requried="requried" or maxlength="20" or type="email"
-> ajax validation like existing username is possible

colours not my fav, but its the same used in validation right now.

i used: http://flowplayer.org/tools/demos/validator/index.html 1.2.6. dev because for recheck if you disable fields with js has 1.2.5 an annoying bug.

If you test it in borwser like ff 6 use in form novalidate="novalidate", because else Browser use his html5 validation check. This js plugin works with old crappy browsers too.

Works with
Firefox 2.0+
Internet Explorer 6+
Safari 3+
Opera 9+
Chrome 1+

Translations/multilang are possible.

What you think about JS validation in ISPConfig3

Attached Images
Reply With Quote
The Following 3 Users Say Thank You to xaver For This Useful Post:
falko (18th September 2011), laptop_user (26th September 2011), vogelor (20th September 2011)
Sponsored Links
Old 18th September 2011, 11:36
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

I like it!
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 19th September 2011, 13:59
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

Looks nice. If we want to use that, we will have find a way that the js validation code is generated automatically based on the validators info from the tform files when the html code for the form is written. Otherwise we would have to keep tow different validation systems in sync manually.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 26th September 2011, 07:36
laptop_user laptop_user is offline
Join Date: Aug 2011
Posts: 96
Thanks: 42
Thanked 8 Times in 8 Posts

very nice.

Would be very extra nice if you could add another Re-enter password field for password validation.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get the Talking SOAP With Exchange to work eescudier HOWTO-Related Questions 29 16th July 2013 20:43
Postfix user/password validation counterpoint HOWTO-Related Questions 3 3rd August 2011 16:11
Failed validation of a PTR record kokez Developers' Forum 6 26th August 2010 00:19
E-mail validation problem rputnins Installation/Configuration 1 2nd September 2009 10:50
ISPconfig3, email validation issue Justin Albstmeijer Installation/Configuration 2 5th July 2008 01:26

All times are GMT +2. The time now is 13:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.