Hi!
I am new to this community and Power Apps and feel like I am doing circles and would be grateful for your assistance.
Scenario:
DataCardValue9: Always mandatory
DataCardValue17: mandatory when DataCardValue9 = NCON
DataCardValue14: mandatory when DataCardValue9 = CM
(Attached screenshot for reference)
First, I wanted the two datacards (14 & 17) to hide based on the above criteria and then I wanted to disable the submit button until all fields on the form were completed.
On the submit button under "DisplayMode" I put If(SharePointForm1.Valid,DisplayMode.Edit, DisplayMode.Disabled)
however, this is not working because it’s looking to validate the entire form including both DataCardValue 14 & 17 and one of the fields will always be hidden based on the previous selection.
Can you please share any insight on how I can make this work?
Thank you so much in advance!