Share feedback, ideas and get community help

Updated last year

execute javascript function and set variable longitude and latitude

can anybody tell me how can i set variable in script block ?
i have fucntion call "get location" where i get the location of user and return the longitude and latitude how can i set variable in script block or any other way to set the variable
B
1 comment
You need to use the Set variable block for setting variable. You can still use code, it will use the returned value as the variable new value (https://docs.typebot.io/editor/blocks/logic/set-variable)
Add a reply
Sign up and join the conversation on Discord