Am I doing something wrong or it doesn't work?
Same problem when trying the opposite:
"* is required when * is empty."
Thanks in advance.
the red '*' disappear in the form, but it's still required when submitted and error message returned 'the field is required'
Same problem with stable release..
Tried both ways (tested on /admin/commerce/customer-profiles/types/billing/dependencies):
Visually, the required * is added, but no validation is present and I can go on creating an order without required fields for example..
Ups, definitely a duplicate of #1561272: Conditionally required fields are not required
Drupal is a registered trademark of Dries Buytaert.