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

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

Highlighted
Advocate I
Advocate I

Re: Form question

Thanks - that worked!

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,222)