Hi,
In my form, I need 2 boxes checked and 4 people picker (combo box) fields filled for the "Submit" button to be enabled.
The function works if there is one or two people pickers fields indicated:
If(Checkbox2.Value &&
Checkbox1.Value &&
!IsEmpty(DataCardValue28.SelectedItems) &&
!IsEmpty(DataCardValue30.SelectedItems),
Edit, Disabled)
As soon as I add another people picker fields, the function stops working (it doesn't throw any errors, it just doesn't work as expected, i.e. it only requires boxes to be checked and it ignores the people picker fields):
If(Checkbox2.Value &&
Checkbox1.Value &&
!IsEmpty(DataCardValue28.SelectedItems) &&
!IsEmpty(DataCardValue30.SelectedItems) &&
!IsEmpty(DataCardValue34.SelectedItems) &&
!IsEmpty(DataCardValue39.SelectedItems),
Edit, Disabled)
Please help. 😞