Hello @a104230
Which part of the given link were you trying to replicate?
My initial provided code has the structure that you need to not Patch the data if either the Title or the Vendor is empty. You just have to add your patch code to the designated place indicated by the comment "//Patch code here"
Here's what I gave:
If(
Or(
IsBlank(TextInput1.Text),
IsBlank(TextInput1_1.Text)
),
Notify("Blank inputs")
,
//Patch Code here
Notify("Saved")
)
And here's how how you can do it:
If(
Or(
IsBlank(TextInput1.Text),
IsBlank(TextInput1_1.Text)
),
Notify("Blank inputs")
,
Patch(
SPListName,
Defaults(SPListName),
{
Title: TextInput1.Text,
'Vendor Name': TextInput1_1.Text
}
);
Notify("Saved");
)