Hello,
I've built a form (form_info) that contains some confidential information. I set form_1 to Visible -Off to hide the fields in the form when the User opens the form. I've also created a button, (button1) that displays all of the fields in the form when the User clicks the button. Form_info, On Visible the formula I added is Button1.pressed.
Buutton.1 displays Form_info.visible when On Select.
However, the information in the form disappears again when the button is no longer selected, I have to hold the button for information to display.
How can I reset the button or the form to continue to display the information on the form? I tried the reset option, but if that's the option, I may not have input the correct formula.
Thanks for any help
Solved! Go to Solution.
Hi @JoyK ,
Create a Variable (call it whatever you want) on the Button OnSelect
UpdateContext({varPressed:true})
then the Visible is
varPressed
you would need to reset this
UpdateContext({varPressed:false})
when you want to hide it again.
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.
Hi @JoyK ,
Create a Variable (call it whatever you want) on the Button OnSelect
UpdateContext({varPressed:true})
then the Visible is
varPressed
you would need to reset this
UpdateContext({varPressed:false})
when you want to hide it again.
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.
Hi @JoyK ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
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.
Hi @WarrenBelz ,
Apologies for the delayed response. I had someone else test based on the resolution you provided, but we’re still unable to have the form display. If you have an alternate solution, or if you need me to provide additional information, please let me know.
Thank You
Hi @JoyK ,
I am a little lost as to why is would not work - it is simply a Variable you are setting the Form Visible property on.
Hi @WarrenBelz ,
Let me double check my steps. I probably input the info incorrectly, so here goes:
I created the variable: varPressed
Button - On Select, I input
UpdateContext({varPressed:true})
On my form - On Reset, I input
UpdateContext({varPressed:false})
On my form - Visible, I input
varPressed
Please let me know what I did incorrectly.
Thanks for your patience.
Joy
Hi @JoyK
No, the last bit is wrong - by "reset", I simply meant when you want the button to not be visible again (the Reset property is something entirely different). So you set the Variable to false in whatever code causes the button to be invisible again. Screen OnVisible would be a good place to start.
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.
User | Count |
---|---|
252 | |
125 | |
106 | |
50 | |
49 |