Hey there, so I have a form with many textfields all of which have
validators on them.  In a situation where I’m creating a “new” record, all
the fields are blank.  I also have a DropDownChoice object with an
AjaxFormSubmitBehavior (“change”) attached.

If the user clicks “save” prematurely, obviously there will be a lot of
errors on the form.  Also if the first thing they do is choose an option in
the DropDownChoice some of the form values are invalid.  The problem that I
have is that it seems like even though some of the values (in this case the
form component bound to the drop down choice) are valid, those values don’t
make it into the model because of the other invalid values.

Is there a way to circumvent this?  I’m okay with fields that have invalid
values not making it into their model objects (makes sense most of the
time), but in this case I want some to not update and some to update.

Thanks for your time,

Lon

Reply via email to