Page 1 of 1

Pass information between pages

Posted: Mon Jan 26, 2015 8:48 am
by Rui Song Chong

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


Pass information between pages

Posted: Mon Jan 26, 2015 9:42 am
by M&M

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.