display and store data generated using Corvid

I am having some issued understanding that code as there is no proper indentation in this editor but couldnt you simply add the value to those two fields after you recieved it?
[…]
local.setItem(“place_lng”, lng);
local.setItem(“place_utc”, utc);
local.setItem(“place_id”, id);
$w(“#input4”).value = name;

$w(“#yourLatField”).value = lat;
$w(“#yourLngField”).value = lng;

let detailsList =
[[…]