Hi,
I've got a Cloud BP that tries to save a form with current process data. The form has some LFForm JavaScript that is setting default address field values. The form has just this JS code, nothing else.
JS Code:
LFForm.setFieldValues({fieldId: 16}, {address1: "1234 New Road", address2: "Suite 150", zipcode: "99999", city: "City", province: "ST", country: "USA"});
The form shows the values properly, but the Save to Repository task stops with this error:
"Failed to generate a document from the form: Error: Invalid values. Please check the JavaScript on the form."
Any idea why this might occur?