For sites running the latest 4.x version of Webform, and Addressfield Tokens, their webform address fields are never provided as 'required'.
This is because of this commit:
http://drupalcode.org/project/webform.git/commit/dd7ca5eac7a8163a6ec8f29...
and the corresponding Webform issue:
#2020723: Rename "mandatory" to "required" for consistency with HTML5 and the rest of Drupal
in which $component['mandatory'] was renamed to $component['required']
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | addressfield_tokens-2032435-1.patch | 1013 bytes | pjcdawkins |
Comments
Comment #1
pjcdawkins commentedComment #2
mfbTested and works on Webform 4.0
Comment #3
venutip commentedConfirming this works on Webform 7.x-4.0.
Comment #4
Tyler the Creator commentedAlso confirmed.
Comment #5
markie commentedPatch applied and will be in the 1.5 release. Thanks for your help!