setFieldValues()
setFieldValues allows you to set custom values for the current user of your form on specific form and hidden fields.
Last updated
Was this helpful?
setFieldValues allows you to set custom values for the current user of your form on specific form and hidden fields.
Last updated
Was this helpful?
setFieldValues()
is updates the field values of the current user and saves the new data to our database. Pass in an object of the shape {<fieldId>: <fieldValue>}
where fieldId
can be either a form field or hidden field ID. If fieldId
corresponds to a file upload field, fieldValue
should be a object. If fieldId
corresponds to a signature field, fieldValue
should be a PNG. Otherwise, fieldValue
expects a string.