Pre-fill fields by the sender or an earlier signer
Pre-fill now works on any document, not just templates. Create or send an envelope and fetch embedded sending URL let you fill fields in fields_payload before the recipient they belong to signs. Until now, you could only pass values to fields saved in a template, through merge_fields.
Give the field a label and a fillable_by, then choose who fills it.
- Pre-fill by sender. Set
"sender": trueand pass the value inprefill_value. - Pre-fill by earlier signers. List them in
fillable_by.recipients. They need to sign before the field's recipient, so setis_orderedtotrue.
Pre-fill works on text, checkbox, and combobox fields. A combobox takes its choices in additional_info.options. The recipient sees every pre-filled value and can change it before signing.
{
...
"is_ordered": true,
"recipients": [
{ "recipient_id": 1, "email": "[email protected]", "first_name": "Sam", "last_name": "Rep" },
{ "recipient_id": 2, "email": "[email protected]", "first_name": "Olivia", "last_name": "Owner" }
],
"fields_payload": [
{
"recipient_id": 2,
"source_id": 1,
"type": "text",
"page_number": 1,
"required": true,
"position": { "x": 72, "y": 150, "width": 220, "height": 20, "mode": "fixed" },
"label": "Business Legal Name",
"prefill_value": "Acme Coffee LLC",
"fillable_by": { "sender": true, "recipients": [1] }
},
{
"recipient_id": 2,
"source_id": 1,
"type": "combobox",
"page_number": 1,
"required": true,
"position": { "x": 72, "y": 190, "width": 220, "height": 20, "mode": "fixed" },
"label": "Business Type",
"fillable_by": { "recipients": [1] },
"additional_info": { "options": ["Sole Proprietorship", "LLC", "Corporation"] }
}
]
...
}Here, the sender fills in the business name, and the rep can still change it. The business type is left for the rep to pick. Olivia sees both values when she signs and can change them.
Pre-fill by sender and pre-fill by earlier signers are available on the API Advanced Plan. Reach out to [email protected] or your Signeasy account manager to upgrade.