I use the invalid() helper to validate a booking form. A date field should only be required if a radio button for an optional service is checked.
How would I perform such a validation with the invalid() helper, where a field is only required depending on the value of another field? Is this even possible with the invalid() helper?