form.yaml
expression validator can reference any field by its id through the data object. This lets you compare two fields in the same section — like matching email addresses — or validate a field in a later section against one submitted earlier — like ensuring a departure date falls after the arrival date.