Saving form as draft and validate all except `required`
I have a couple of long forms that I'd like to save as a draft after a field is blurred. Most fields have some specific validation, and due to technical constraints, that validation is crucial (there's no other validation before putting in DB) . Most of the fields are marked as
How can I achieve this?
->required(). How can I achieve this?
- What's the best way to update the draft on every change in any of fields?
- How can I apply all validation rules except
when updating draft? (The effect here would be that we're also giving instant feedback is field is not valid)->required()