That won’t work this way. If you want to reference the field from the result it will look like the following: formContext.getAttribute(“cr337_patient_01”).setValue(result.cr337_patient_name_01); What type of field is cr337_patient_name_01?