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']

CommentFileSizeAuthor
#1 addressfield_tokens-2032435-1.patch1013 bytespjcdawkins

Comments

pjcdawkins’s picture

Status: Active » Needs review
StatusFileSize
new1013 bytes
mfb’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Tested and works on Webform 4.0

venutip’s picture

Confirming this works on Webform 7.x-4.0.

Tyler the Creator’s picture

Also confirmed.

markie’s picture

Status: Reviewed & tested by the community » Fixed

Patch applied and will be in the 1.5 release. Thanks for your help!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.