Skip to main content
1-Visitor
April 7, 2020
Solved

Add and update details as input mashup

  • April 7, 2020
  • 1 reply
  • 1367 views

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?

Best answer by slangley

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

1 reply

slangleyCommunity ManagerAnswer
Support
April 7, 2020

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

alenaromi1-VisitorAuthor
1-Visitor
April 7, 2020

and how to go about about saving the input data.

17-Peridot
April 8, 2020

Hi,

 

Just bind the input data with session parameters that you define.

 

Hope it helps,

Raluca Edu