Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

Pass information between pages

Hi,

I want to pass the address of a respective row to the next screen when the location icon is click. How can I do that?

Thanks.

Image

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Pass information between pages

You can create a Local Storage variable, say by the name of lsvAddress. When the user clicks on list item , save the corresponding address value in the local storage variable by using this command

localStorage.setItem('lsvAddress', ); //
// You can set the value of the LSV to selected item by using the visual builder as well.

Then on the next page show / load event read from the Local Storage variable this way

var address = localStorage.getItem('lsvAddress');
// The address variable now has the previously selected item / address.

Return to “Issues”