cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Form question

I'm trying to figure out how to hide a datacard on a form unless a certain choice is entered into a different datacard. My data source is a SharePoint list. I have a choice column called 'Type of Recruitment'. When the user selects 'Open', I want a free text field called 'Open Position Name of Employee' to appear (it's 'Visible' property is set to 'False', by default), where they can enter the employee name. I want it to stay hidden if they select the other option 'New Position'. I'm trying to use the 'Rules' tab to accomplish this but can't figure out the code to enter into the condition field. Should I be using 'IsMatch'? This doesn't work: IsMatch(DataCardValue11.Value, "Open Position") Any help would be much appreciated!
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

You need to write a formula in the visible property of the datacard 'Open Position Name of Employee' to set it to true or false based on the selection in 'Type of Recruitment'

 

If(DataCardValue11.Selected.Value="Open Position",true,false)

 

Thanks

Vivek / That API Guy

youtube.com/thatapiguy

 


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

You need to write a formula in the visible property of the datacard 'Open Position Name of Employee' to set it to true or false based on the selection in 'Type of Recruitment'

 

If(DataCardValue11.Selected.Value="Open Position",true,false)

 

Thanks

Vivek / That API Guy

youtube.com/thatapiguy

 


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted

Thanks - that worked!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,048)