In struts-config.xml set validate to false for the action that builds up
(populates) the form and set validate to true for the action that
process the form (after you clicked the submit button).

Regards,
Bram


-----Oorspronkelijk bericht-----
Van: pc leung [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 25 oktober 2005 6:37
Aan: user@struts.apache.org
Onderwerp: Validator start immediately when page displays?

When the first time the web page displays,
the validator hightlights fields which are blank.
However submit button is not clicked yet.
 Instead of hightlighting errors at the first time of web page displays,
can the errors be shown up after the submit button is clicked?
  (My web page has a tile component. I do not know if it is part of the
reason).
 thanks
##################################################################
Dit document en de eventuele bijlagen is/zijn uitsluitend
bestemd voor de hierboven genoemde geadresseerde(n) en 
kan/kunnen vertrouwelijke informatie bevatten. Indien u niet 
de geadresseerde bent, gelieve u zich te onthouden van
verspreiding of vermenigvuldiging van dit bericht. Indien dit
bericht kennelijk per vergissing naar u is verzonden, verzoeken
wij u dit onverwijld te berichten aan [EMAIL PROTECTED] en
dit bericht te vernietigen.
################################################################## 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to