PHP Classes

Validation exception

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  Validation exception  >  (Un) Subscribe thread alerts  
Subject:Validation exception
Summary:If a field is checked, do not validate another...
Messages:11
Author:Sebastian Wais
Date:2006-12-20 16:57:00
Update:2012-01-18 20:27:26
 
  1 - 10   11 - 11  

  11. Re: Validation exception   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-01-18 20:27:26 - In reply to message 10 from Erik de Bos
Yes, it works both on the server side and on browser side with JavaScript.

When you specify that the validation of one input depends on another, the class will call GetCheckedState to check if the dependent input needs to be validated on the server side.

Likewise it JavaScript code will be generated by the GetJavascriptCheckedState to determine if the dependency input is "checked" and so proceed with the validation of the dependent input on the browser side.

 
  1 - 10   11 - 11