I have a form in which a user enters 2 types of data: 1. Project details 2. Survey questions related to the project
The form has 2 submit buttons 1. Save Draft 2. Submit
The 'Save Draft' post needs to validate only project details and not survey fields. The Submit post should validate both project and survey data.
Is there a way to partially validate data when user clicks 'Save Draft'? Maybe handle the 'Save Draft' click and ignore/remove validation for the survey fields...