[World Map] Save selected country JVectorMap

Forge Component
Published on 2015-07-30 by Gonçalo Borrêga
4 votes
Published on 2015-07-30 by Gonçalo Borrêga


I'm trying to save the selected country name on a local variable in order to use on another screen.

I've tried some JS Scripts without success.

Could you please help me on this ?

I'm using the latest version of JVector Map on Oustystems 11.

Thank you

Hi Luca,

You'll need to create a variable, and use it in a hidden (use CSS display:none) input on the page.
Then you can write the value to the input box with jQuery and you'll see the value on the variable on the next request.

You will need these 'hacks' to write to outsystems variables with JS.