hey there,
I have an input text and I want it to be clear of text when the user click on a button.
Thanks in advance 🙂
Solved! Go to Solution.
Hi @mdevaney
Great solution.
However I think is better and more straight forward to not define a variable if not really needed.Just:
Create a button with this code in the OnSelect property
Reset(<Yourtextiput>)
Set the default property of the TextInput to:
Blank()
Don't define global variables if not necessary.
@Shira
Create a button with this code in the OnSelect property
Set(varReset, true); Set(varReset, false);
Then put this code in the Default property of the Text Input
Blank()
Finally, put this code in the Reset property of the button
varReset
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hi @mdevaney
Great solution.
However I think is better and more straight forward to not define a variable if not really needed.Just:
Create a button with this code in the OnSelect property
Reset(<Yourtextiput>)
Set the default property of the TextInput to:
Blank()
Don't define global variables if not necessary.