PageValidator and submit action



I would like to check if some fields are filled, but "only" depending on submit button clicked by user.

My intention was to develop a PageValidator for each Form (or a single one Generic) and to get all form values and "which was the submit action choosen", but in my IFormPageValidator implemented class it seems that only arrives:

public boolean validate(Map<String, FormFieldValue> fieldValues, Locale locale) {

Please, anybody knows how can I do to apply validations depending on submit action executed? For example, in a form with two submit buttons ("Accept"/"Reject"), validate if all fields are filled only if user has clicked "Accepted".

Thanks in advance,


Submitted by Giro1981 on Thu, 07/31/2014 - 22:34

Sorry, I forgot to comment that I'm using BOS 6.3.2 with JRE 1.6.


No answers yet.