Is it possible to make a validator that can compare the values of two form components at the same time? I have an Upload component for uploading files directly and a TextField component for uploading files from a URL. The user is supposed to fill in only one of the fields. I would like to have a validator that checks if both fields are empty, or if both are full, but I don't know how to pass both fields' values to the validator.

Is this kind of validation better done in the form's submit listener? If so, is there a way to use client-side validation as well (to create dialogs as shown in the TimeTracker example)? Is this where a validation delegate would be used?


Thanks!
Peter Beshai

_________________________________________________________________
Achetez ce que vous voulez, quand vous voulez sur Sympatico / MSN Magasiner http://magasiner.sympatico.msn.ca/content/shp/?ctId=101,ptnrid=176,ptnrdata=081805


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

Reply via email to