Hello,
I have following issue submitting the OnSave action:
If(
IsBlank(
LookUp(
Products;
ProductID = DataCardValue3.Text
)
) && SharePointForm1.Mode = FormMode.New;
SubmitForm(SharePointForm1);
If(
!IsBlank(
LookUp(
Product;
ProductID= DataCardValue3.Text
)
) && SharePointForm1.Mode = FormMode.Edit;
SubmitForm(SharePointForm1);
Notify("ProdcuctID " & DataCardValue3.Text & " is alread in your list";NotificationType.Error)))I want to have one more condition and don't know where to put it correctly, since the whole action isn't working anymore with a third condition.
When in FormMode.New I want it to submit form when no duplicates where found. If found than Notify that its already in the list.
When in FormMode.Edit I want it to submit data which is found as duplicate (only because the record itself is the duplicate)
Now, where to put the third condition?
When duplicate is found notify user "Please enter new numbers with the main input mask!"
Hope somone can help me put it this third condition into righ order.
Thank you very much in advance.
Best.

Report
All responses (
Answers (