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

Not making button visible until field is filled in

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!!

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5
Super User
Super User

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)

 

Hi @EricLott ! I tried your formula but the system doesn't seem to be accepting it. Any thoughts?

 
 

image.png

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.

View solution in original post

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.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (50,946)