cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Conditional Dropdown

Hello,

 

It's very simple what I want to do, I've a "dropdown" thas has the following values "Yes/No" and also I've a "TextInput" that you'll write there if you choice "No" or you can't write on there if you choice "Yes", I'm trying with this code, but it doesn't work

 

"If(Dropdown1.Selected.Value="Yes";DisplayMode.View;DisplayMode)"

 

I'll wait for you answers.

 

Best Regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Conditional Dropdown

Can you please accept the post as a solution by clicking on Accept as Solution? This helps others find answers easily.

Thanks,
Hardit Bhatia

View solution in original post

4 REPLIES 4
Highlighted
Super User
Super User

Re: Conditional Dropdown

Hi @diegoaff92 

Put 

If(Dropdown1.Selected.Value="Yes";DisplayMode.View;DisplayMode.Edit)

in the DisplayMode property of the Textbox. 

Highlighted
Super User
Super User

Re: Conditional Dropdown

Try

"If(Dropdown1.Selected.Value="Yes";DisplayMode.View;DisplayMode.Edit)"

 

Let me know if this helps. 

 

---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

 

Thanks!

Hardit Bhatia

Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

Highlighted
Helper II
Helper II

Re: Conditional Dropdown

Thank you so much, it works!!! 

Highlighted
Super User
Super User

Re: Conditional Dropdown

Can you please accept the post as a solution by clicking on Accept as Solution? This helps others find answers easily.

Thanks,
Hardit Bhatia

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

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

Top Solution Authors
Top Kudoed Authors
Users online (8,481)