I have a form to which I need to add dynamic fields using ajax, whenever the user clicks on the "add new input" link. I need to preserve the current user input, without actually updating the backing models (or at least preserve input that is not completely valid, or do not show errors if the user as not entered a required field)
I am using an AjaxSubmitLink to submit the current user input, but (a) I am not able to preserve the input (if I use setDefaultFormProcessing(true)) (b) I get validation errors, or lose invalid input if I try to mock with the onError() method of the AjaxSubmitLink What is the correct way to do this? -Nelson