cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pvanolinda
Advocate II
Advocate II

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

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

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.

Thanks - that worked!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (679)