
Hi All,
I need some help, I've got a Multi screen form app that I've made. So I have Form 1-5 but they are all connected to the same SharePoint list I've just spread the information out across multiple screens. At the moment I'm trying to implement a save as draft function. But my problem is that my required fields are on my first screen and are set as required from the SharePoint list. I would like not be able to save my form as draft without the required fields but when I want to submit the form the required fields need to be filled. How can I achieve this using the Patch function because that's what I've used in my On Select property. Here my formula
UpdateContext({locIsSubmit: true});
Set(
varBlob,
JSON(
InputSignature.Image,
JSONFormat.IncludeBinaryData
)
);
Patch(
'Permits App List',
varFormData,
Authorisation_to_work_permit.Updates,
Authorisation_to_work_permit_P2.Updates,
Form2.Updates,
Form3.Updates,
Form1.Updates
);
If(
IsEmpty(Errors('Permits App List')),
Notify(
"Success",
NotificationType.Success
);
Navigate('Work Permits Home'),
Notify(
First(Errors('Permits App List')).Message,
NotificationType.Error
)
)
I'd Appreciate any help with this please. I know the Submit form button is easier to use but I wouldn't know how to apply it here considering all the information I have.