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
Hi @StevieC ,
I must admit I have not heard of that, but try putting it at the bottom and making all controls and the card zero height.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
you mean? The code is on the Required property of the card
@StevieC ,
No the Height of the object - this will effectively hide it without hiding it.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
The hiding part is working fine using the visible property of the card - or do you mean that the hiding is causing the required validation to always trigger?
User | Count |
---|---|
183 | |
124 | |
88 | |
45 | |
43 |
User | Count |
---|---|
248 | |
157 | |
127 | |
78 | |
73 |