PHP Classes

array of ValidationServerFunction

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  >  Locating addresses on...  >  All threads  >  array of ValidationServerFunction  >  (Un) Subscribe thread alerts  
Subject:array of ValidationServerFunction
Summary:Use of array at ValidationServerFunction function
Messages:3
Author:Gustavo Bobrow
Date:2008-05-04 20:00:10
Update:2008-05-04 23:50:21
 

  1. array of ValidationServerFunction   Reply   Report abuse  
Picture of Gustavo Bobrow Gustavo Bobrow - 2008-05-04 20:00:10
Hello,

I've searched the Document of forms generation and I did not find any reference of using array values at ValidationServerFunction function.

So, I would humbly ask for the developer of the class, if it is not already implemented, to make a modification to the class for using ValidationServerFunction as array values.

I am asking this because I need to use 2 validation functions at serverside and I also need 2 error messages to be displayed.

Thank you in advance for your further attention.

Gustavo

  2. Re: array of ValidationServerFunction   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-05-04 22:04:31 - In reply to message 1 from Gustavo Bobrow
ValidateServerFunction is very limited. I recommend to use a custom validation plug-in class so you can perform whatever validations you want using distinct error messages. Take a look at the test_custom_validation.php example script.

  3. Re: array of ValidationServerFunction   Reply   Report abuse  
Picture of Gustavo Bobrow Gustavo Bobrow - 2008-05-04 23:50:21 - In reply to message 2 from Manuel Lemos
Hello Manuel,

Thank you for your clarification.

Best regards,

Gustavo