cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

Re: Not making button visible until field is filled in

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
Highlighted
Super User
Super User

Re: Not making button visible until field is filled in

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)

 

Highlighted
Helper II
Helper II

Re: Not making button visible until field is filled in

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

 
 

image.png

Highlighted
Super User
Super User

Re: Not making button visible until field is filled in

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

Highlighted
Helper II
Helper II

Re: Not making button visible until field is filled in

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"?

Highlighted
Super User
Super User

Re: Not making button visible until field is filled in

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,683)