Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi community,
So I have a main mashup in which i have some data visible in two label widgets.I also have a button below which is used to navigate to a popup.The purpose of this popup is to get new values for the labels in the mashup.So how do I get the values from the user and save it such a way that as soon as I close the popup the main mashup updates to the new values i.e the old values in both the label widgets are replaced by the new values the user has given now.
Also I want to validate that the user has entered both the values in both the labels,and even if one label is empty i need to display a msg.How do I do that?
Solved! Go to Solution.
Hi @alenaromi.
One way to do this is with session parameters. You can use the validator function to evaluate the data being entered and pass the output a custom service for generating the pop-up message regarding the user entry.
Regards.
--Sharon
Hi @alenaromi.
One way to do this is with session parameters. You can use the validator function to evaluate the data being entered and pass the output a custom service for generating the pop-up message regarding the user entry.
Regards.
--Sharon
and how to go about about saving the input data.
Hi,
Just bind the input data with session parameters that you define.
Hope it helps,
Raluca Edu