I’ve successfully managed to get everything working from the below example…
I’m wanting to use the populated data in the repeater (which has the longitude and latitude details from the search in) as part of an onClick function attached to a button.
But, I’m not too sure how to ‘get/reference’ the data from each row in the repeater.
e.g:
let lat = $w("#repeater2").data ("_id": "2", text 4)
let lng = $w("#repeater2").data ("_id": "3", text 4)
$w("#text1").text = lat
$w("#text2").text = lng
However, I have a button that when clicked I want to save the longitude and latitude results from this repeater to a text element that I can later submit along with the rest of the information on the form.