RE: Add "Save as draft" in web form step
Hi Julien,
As per my knowledge, there is no OOB way to achieve this neither using Webform nor Entity Form.
Though you can handle this sutuation by having multiple entity forms.
Let say you want to take user's inputs in 3 steps. So create 3 Entity Forms of same entity. Each Entity Form would have 2 buttons (one OOB button, labeled as 'Save as draft' and one Custom button, labeled as 'Continue').
OOB button will use to save the record in CRM and will keep the user on same page by doing below setting on Entity form.
On Success Settings:
On Success : Display Success Message
Display Success Message:
Hide Form on Succes : true
By doing this setting, as soon as user hits Save as Draft button, records will get saved in crm and user will remain on same screen.
Custom Button will redirect user to second entity form. For this you need to write javascript on Entity Form 1 under custom javascript section.
Note:
1. All the entity forms would be in Edit Mode except the first one. First Entiry form would be in Insert mode.
2. All the mandatory fields must be presented on Entity Form 1 in order to save the record in CRM. Rest Entity Forms can have the fields as per your need.
Hope you get the clarity. Though I didn't try this but i feel it would work.
Cheers
Arpit
[View:https://arpitmscrmhunt.blogspot.in]