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.
Internet Explorer 6+
Translations/multilang are possible.
What you think about JS validation in ISPConfig3
I like it! :)
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.
Would be very extra nice if you could add another Re-enter password field for password validation.
|All times are GMT +2. The time now is 18:34.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.