Conditional Validation commented on by John Krasnay (Aug 19, 2008).

Comment:

Actually, most times I don't access text fields in onSubmit(), since by then the text field has updated its model object, so I can access the model object directly.

However, if you really need to access the text field from onSubmit, I suggest making either the submit button or the text field (or both) fields in the containing component.

Reply via email to