Hello,
I'm having some trouble with the visible properties of a button. I have a next button but I do not want it to be visible until my required field is filled in. I tried this with no success-
Visible=If('Sales Rep Name_DataCard1'="",false,true)
I think there is probably a very easy fix to this but I just don't know enough about it.
I appreciate the help!!
Solved! Go to Solution.
Instead of referencing 'Sales Rep Name_DataCard1', you need to reference the dropdown inside of it. Replace 'Sales Rep Name_DataCard1' with the name of the dropdown inside that card.
Set the Visible property of the button to this formula
If(IsBlank('Sales Rep Name_DataCard1'.Text),false,true)
You can also shorten it to this:
!IsBlank('Sales Rep Name_DataCard1'.Text)
Instead of referencing 'Sales Rep Name_DataCard1', you need to reference the dropdown inside of it. Replace 'Sales Rep Name_DataCard1' with the name of the dropdown inside that card.
Worked!...
Except now I realized I have Input Text Placeholder in there, so this won't work for what I need. Any thoughts on how to make it say that it's visible when DataCardValue1 does not equal "Start Typing Sales Rep Last Name"?
Something along these lines...
DataCardValue1.SelectedText.YOURVALUE <> "Start Typing Sales Rep Last Name"
Just replace YOURVALUE with the value you are checking against.
However, if that's just the Hint for that dropdown, try using SelectedText with my original solution.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
257 | |
248 | |
83 | |
36 | |
30 |
User | Count |
---|---|
299 | |
268 | |
117 | |
66 | |
45 |