Hi
I have a canvas app form linked to SPO, all fields from SPO are not required fields.
On Screen1 I have 2 mandatory fields set from PowerApps and the * shows up next to them, Screen2 I have 1 mandatory field and on Screen3 I have my submit button but no mandatory fields.
I am able to submit my form on Screen3 without any data in the mandatory fields in the previous 2 screens . My submit button code is:
UpdateContext(
{
VarPatchedRecord:
Patch(
ListName, Defaults(ListName),
Form1_1.Updates,
Form1_7.Updates,
Form1_2.Updates,
{Column1:Blank()},
{Column1:Blank()},
{Column1:Blank()},
)
}
);
If(Not(IsBlank(VarPatchedRecord.ID)),Navigate(SuccessScreen);
Office365Outlook.SendEmailV2(VarPatchedRecord.ApplicantName.Email, "A new request , "Part B <a href='https://apps.powerapps.com/play/MYURL&Sg=" & VarPatchedRecord.ID & "'> Link to submitted form </a> "))