# setFieldValues()

`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 [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object. If `fieldId` corresponds to a signature field, `fieldValue` should be a [Base64](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) PNG. Otherwise, `fieldValue` expects a string.
