I'd check out ExtVal, from MyFaces as well:

http://myfaces.apache.org/extensions/validator/index.html



On Mon, Apr 27, 2009 at 11:00 AM, C Chang <[email protected]> wrote:
> Dear all,
> I have a form which has two <tr:inputText> elements, if first element has
> value, then the second element must have value as well. If first element
> doesn't have value, then the second element is optional.
> Vice versa, if the second element has value, then the first element must
> have value. If the second element doesn't have value, then the first element
> is optional.
> How can I implement this in trinidad? Thanks in advance!
> Kind regards,
> Leon



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to