Pls let me know what is wrong with the below code
I'm checking two collections and if both are empty, I want the error to prompt.
But now it is validating this code and submitting the form even if the collections is empty
If(
CountRows(
Filter(NewCollection,
Or(
IsBlank(A),
IsBlank(B),
IsBlank(C)
)
)
) &&
CountRows(
Filter(EditCollection,
Or(
IsBlank(D),
IsBlank(E),
IsBlank(F)
)
)
) > 0 ,
Notify(
"Admin Role is required",
Error
),
SubmitForm(Form))