Input Field: Address Autocomplete with Google Maps in Editor X

Fixed - found the info “If an element is connected to a dataset, setting the element’s value in code does not set the value of the connected field in the dataset. That means if you use the dataset to perform a submit, the value changed in code is not reflected in the submitted item.” (https://www.wix.com/velo/forum/coding-with-velo/dynamically-prepopulated-form-field-is-not-saved-unless-changed)

Added setFieldValue() to submit button click:
export function submit_click ( event ) {
$w ( “#dataset2” ). setFieldValue ( “location” , $w ( ‘#location’ ). value );
}

…which worked. In case anyone else is having the same issue. Thanks again!