Thanks Yisrael! Yes, it is the button connected to Submit action of my dataset.
Tried SetField Value route, but though didn’t get any errors, the data is not getting recorded to destination fields. Here is the code:
//Set dataset fields to input fields
$w( “#dataset1” ).setFieldValues( {
“firstName” : $w( “#input1” ).value,
“lastName” : $w( “#input2” ).value,
“emailAddress” : $w( “#input3” ).value,
} );
Dataset1 has been set to Write mode.
