I have a scenario in which i want control over which fields i submit from a form.
When i select a checkbox, then 2 text fields(containing date) need to be submitted. Otherwise they should not be submitted.
Currently, since all fields are binded to a DB model object. So submitting empty strings creates binding exceptions when it tries to convert empty string to date.
Any solution for that?