#states is a new Form API property in Drupal 7. In core, it can only depend on a limited set of things (for example a checkbox being checked/unchecked), but it turns out it's possible to extend it to use regular expressions. Here's how!
This week I had the chance to speak at ConFoo, Montreal's annual conference on web technologies. The conference attracts speakers and attendees from across Europe and North America, as well as locals from Montreal.
Entities in Drupal 7 simplify and centralize common logic that, in earlier versions of Drupal, was duplicated in several places, or only usable in specific modules.
#states is a new Form API property in Drupal 7. In core, it can only depend on a limited set of things (for example a checkbox being checked/unchecked), but it turns out it's possible to extend it to use regular expressions. Here's how!
This week I had the chance to speak at ConFoo, Montreal's annual conference on web technologies. The conference attracts speakers and attendees from across Europe and North America, as well as locals from Montreal.
Entities in Drupal 7 simplify and centralize common logic that, in earlier versions of Drupal, was duplicated in several places, or only usable in specific modules.