Set value with conditions
Set Value turns a condition from a rule about visibility into real automation: when the rule matches, the document writes a value for you.
Where it lives
Open the Conditions manager on your template. Each rule has conditions on the left and affected fields on the right. Set value is one of the actions you can attach.
Configure a set value action
- Pick the target — the document field or document variable that should be filled.
- Choose the source: a static value that you type once, or another field whose value should be copied.
- Save the rule and test it on the published page: change the source field and watch the target update.
Good to know
- The action runs when the rule's conditions become true, so it will not fight a visitor who edits the field afterwards.
- You can stack several actions on the same rule — for example set a value, then make the field read-only, so it stays filled but locked.
- Combine it with hide/show to keep whole sections out of the way until the document needs them.
Related tutorials
Keep going with these lessons.

Push Data to Your CRM and Attach the PDF
Send a submission into your CRM, map each field, and attach the signed PDF to the record.
Doc TemplatesIntegrations

Guard Sign-In
Ask visitors to identify themselves before a document or Experience opens.
Doc TemplatesExperience Builder

Advanced set value
Keep a copied value in sync with its source, and write into variables.
Doc Templates
