cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roncam
Level: Powered On

button to get gps location

I have a buttun that when pressed i need to fill a datacard input with location gps

 

can you help me please ?

h-nagao
Level 8

Re: button to get gps location

You can set default value of TextInput Control using some Context variable;
TextInput.Default = ContextVariable

And for the OnSelect property of Button, UpdateContext({ContextVariable: Location.Latitude &”,”& Location.Longitude})