I need to show different text based on the drop down value. For example if someone selects A in the drop down then the text box below displays "you have selected A" , if B then you have selected B" etc
Solved! Go to Solution.
Thanks for your help @WarrenBelz on this 🙂
I used the below in the end to populate a text field
If(
DataCardValue2.Selected.Value = "Cyber Security",
"Here is some cyber examples",
DataCardValue2.Selected.Value = "CMAR for Finance",
"CMAR example text!"
)
If that is in the Tooltip, you can shorten this
Switch(
Self.Selectd.Value,
"Cyber Security",
"Here is some cyber examples",
"CMAR for Finance",
"CMAR example text!"
)
Hi @MikeBlairTP ,
In a Label Text
"You have selected " & DDName.Selected.xxxx
where xxxx is the valid output of the dropdown (Value/FieldName etc)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
This solves perfectly the example I give above, thank you.
However, I am trying to a block of text when some selects an item from the drop down. The text will change depending on the value of the drop down.
Can you please give me an example of what needs to show and where you are getting it from.
Thanks, I’m trying to create a tooltip style function like the below. I’ve seen static tooltip using an icon and text when you hover, but mine is dynamic.
Where are you getting the "tooltip" value that matches "Cyber Security" from? Also you can have dynamic tooltips on a control like a combo box, but they will only react once you have selected an item, not in the drop-down list as you have illustrated.
Reacting once selected should do. I can always add some text to say click to see examples. Are dynamic tooltips straight forward to setup?
You just need a list of selected items and their corresponding tool tips, then lookup that list.
Thanks for your help @WarrenBelz on this 🙂
I used the below in the end to populate a text field
If(
DataCardValue2.Selected.Value = "Cyber Security",
"Here is some cyber examples",
DataCardValue2.Selected.Value = "CMAR for Finance",
"CMAR example text!"
)
If that is in the Tooltip, you can shorten this
Switch(
Self.Selectd.Value,
"Cyber Security",
"Here is some cyber examples",
"CMAR for Finance",
"CMAR example text!"
)
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |