cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pvanolinda
Level: Powered On

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

Re: Form question

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

Re: Form question

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

pvanolinda
Level: Powered On

Re: Form question

Thanks - that worked!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 342 members 6,822 guests
Please welcome our newest community members: