Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi!
As I couldn't find any thread to this issue I start this new one: I have a mashup for quality check purposes. The mashup takes quality measurements and gives them to a service, where the check runs. The result is then illustrated on the mashup, writing "Good" or "Bad" on a label text. I have a seperate button for resetting the input to default value (text boxes). Unfortunately I couldn't find any possibilty to reset the text on the labels. Ideally the text disapears when clicking the reset button.
Thanks in advance!
Solved! Go to Solution.
Hello,
There doesn't seem to be a way to reset a label to a default value similar to how you can reset the text in a text box.
What you could do would be to when pressing the reset button, run an "Expression" that contains your default value and set the output from it to you label.
Something like this:
However, if you want to use multiple different values for your label, then use the "Event Routers" in-between your expression and label.
Something like this:
Hope this helps you.
Regards,
Jens
Hello,
There doesn't seem to be a way to reset a label to a default value similar to how you can reset the text in a text box.
What you could do would be to when pressing the reset button, run an "Expression" that contains your default value and set the output from it to you label.
Something like this:
However, if you want to use multiple different values for your label, then use the "Event Routers" in-between your expression and label.
Something like this:
Hope this helps you.
Regards,
Jens
Hi Jens,
thanks for your support - the approach with the Event Router helped.
Regards, Dominik