Hi all:

I have a LookupDispatchAction which can be submitted by two buttons (Update and 
Restore). I need to validate this form only when Update button is pressed. The 
form field to validate is required and most be integer. The required condition 
works fine, using the requiredIf validation with a hidden field to check the 
pressed button (ask for the pressed button and if the value is 1 (Update) then 
validate, else (value 2 for Restore) don't do anything). If the value in the 
field is not an integer, the validator framework triggers an exception no 
matter which button were pressed.

What can I do to make this validation using the validator framework?

Thanks in advance.
__________________________________________

XIII Convención Científica de Ingeniería y Arquitectura
28/noviembre al 1/diciembre de 2006
Cujae, Ciudad de la Habana, Cuba
http://www.cujae.edu.cu/eventos/convencion

Reply via email to