1 Reply Latest reply on Mar 3, 2007 7:59 PM by danielneri

    Validating and Submitting

      I have tried using the validator class for immediate results and find it doesn't check it's validity until after my Submit button is clicked. This may be because the validator is attached to a custom component (basically a text box with a spell checker) which I dynamically create at runtime. Is there a way to check validity consistently so that the user won't even be able to submit a blank textbox.

      Basically I have 11 text boxes and 11 radiobutton groups that I need to check. The problem is I don't have an easy way to access the objects by name. I have an array with there names (Strings) but if I pass that to my validation method it does not access the objects themselves. Is there an array which stores all the objects in an application which can be used to access the objects for validation?

      Any help would be appreciated