I have a sharepoint o365 list which I am editing the forms in PowerApps. Depending on the selected item in one of the fields I am showing/hiding another fields. This works fine.
I also want to tset this field as required if displayed and not if hidden - but if I try to save the form with the field hidden, the validation fails (if I change the drop down to expose the field, it is definitely that one that is failing!).
This is the code used: If(DataCardValue3.Selected.Value = "Physical", true, false)
Any ideas? If not i'll just default the field to n/a