Good morning all,
I need some help with an issue I am having with my application. At the moment we have a dropdown box option Payment Type w/ choices of (Hourly and Weekly).
What I am trying to do is have a Timesheet approver text input appear when the user selects hourly and when they select weekly it disappears. Would I have to use the Visible mode or Display mode?
Thanks, everyone!
Solved! Go to Solution.
If you are looking for the input to appear or disappear, then the Visible property is what you should focus on.
If you want to have it be enabled or disabled, then the DisplayMode property is what you should focus on.
In your case for the TextInputx control visible property, set to something like this:
(dropDownControl.Selected.Value = "hourly")
This will evaluate to true or false based on the value selected in the dropdown control.
Be mindeful of case. The text should match what you have as values in the list.
Also, some like to type it all out as such:
If(dropDownControl.Selected.Value = "hourly", true, false)
But it's not all needed to type this as the first formula will do the same.
I hope this is helpful for you.
If you are looking for the input to appear or disappear, then the Visible property is what you should focus on.
If you want to have it be enabled or disabled, then the DisplayMode property is what you should focus on.
In your case for the TextInputx control visible property, set to something like this:
(dropDownControl.Selected.Value = "hourly")
This will evaluate to true or false based on the value selected in the dropdown control.
Be mindeful of case. The text should match what you have as values in the list.
Also, some like to type it all out as such:
If(dropDownControl.Selected.Value = "hourly", true, false)
But it's not all needed to type this as the first formula will do the same.
I hope this is helpful for you.
Thank you for the help Randy! Really appreciate it
User | Count |
---|---|
247 | |
103 | |
82 | |
49 | |
43 |