Date fields can be bound to another date field on the form, using the <BoundToFieldId> tag.
Example Use
For example, to configure a custom form so that the Seniority Date field is bound to the Hire Date field:
Copy
<Field> <!-- Hire Date Field -->
<Style>IVDatePicker</Style>
<FieldId>CustomHireDate</FieldId>
<Row>1</Row>
<Column>1</Column>
<BindingProperty>HireDate</BindingProperty>
<Visible>True</Visible>
<InitialValue>function:today</InitialValue>
<IsRequired>True</IsRequired>
</Field>
<Field> <!-- Seniority Date Field -->
<Style>IVDatePicker</Style>
<Row>1</Row>
<Column>2</Column>
<BindingProperty>SeniorityDate</BindingProperty>
<Visible>True</Visible>
<InitialValue>function:null</InitialValue>
<BoundToFieldId>CustomHireDate</BoundToFieldId>
<IsReadOnly>True</IsReadOnly>
</Field>