Hi @kmw1130 :
If List B Form's DefaultMode property is "New".You could try this solution:
Set the Submit button's OnSelect property to:
If(
IsBlank(LookUp(ListB,ProjectNoTextInput.Text='Project Name/Number')),/*Check if there are duplicate Project Name/Number in ListB*/
SubmitForm('List B Form'),
Notify("Duplicate Project Name/Number")
)
If List B Form's DefaultMode property is "Edit".You could try this solution:
Set the Submit button's OnSelect property to:
If(
IsBlank(LookUp(ListB,ProjectNoTextInput.Text='Project Name/Number'&& ThisItem.ID <> ID)),/*Check if there are duplicate Project Name/Number in ListB*/
SubmitForm('List B Form'),
Notify("Duplicate Project Name/Number")
)
Best Regards,
Bof