Avatar

Correct answer by
Community Advisor

Hello @ratika 

 

There are two ways to do it

1. Via Ajax like @Malarrajan_Sundarraj mentioned. In this case you will have to make sure that the jssp page accepts the requests coming from your webapp only. Else anyone with the endpoint can create new records.

2. Via doing a page refresh -  On clicking on submit button, save the mobile number in ctx variable. andreload the page with window.reload function. On the page reload check if the ctx variable is not blank then do a session write and update the required schema. Once updated then again update the ctx variable value to blank.

 

Thanks,

Manoj

 

View solution in original post