> Isn't this the logical place to put this code?

Yes, once all validation has passed, you will want to persist the correct data.

> Once the user leaves out a certain input, onError() is called and
> onSubmit() never gets called again.

Strange, it should be called on the next submit if the user fills it in... is 
the issue that it never accepts the value after that? Remember, you as a coder 
has told the form that the field is required before the data is acceptable. If 
you want the data to be submitted to onSubmit() anyway you need to remove the 
"instruction" to the validator and instead have a check in onSubmit that 
presents a warning that the field really ought to have been filled out..

- Tor Iver

Reply via email to