Turn OFF Client Side Validation
-
- Posts: 58
- Joined: 2012-07-22 16:41
Turn OFF Client Side Validation
Any quick way to switch OFF client side form validation - and keep the server validation ... ???
-
- Posts: 58
- Joined: 2012-07-22 16:41
Re: Turn OFF Client Side Validation
Solution:
Edit:
tNG_dispatcher.class.php
Comment out line 147:
$outRules .= '<script src="'.$this->relPath.'includes/tng/scripts/FormValidation.js" type="text/javascript"></script>' . "\r\n";
Handy if you need to use JQuery for server side validation and some more advanced options - The server side validation still works .....
Edit:
tNG_dispatcher.class.php
Comment out line 147:
$outRules .= '<script src="'.$this->relPath.'includes/tng/scripts/FormValidation.js" type="text/javascript"></script>' . "\r\n";
Handy if you need to use JQuery for server side validation and some more advanced options - The server side validation still works .....