Closed (fixed)
Project:
Address
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2016 at 12:32 UTC
Updated:
20 Jun 2017 at 17:28 UTC
Jump to comment: Most recent
Comments
Comment #2
bojanz commentedI would accept such a patch.
Comment #3
ytsurkAs I don't want to use Eform ..
I'm missing that too ... and I guess this would be a FormElement.
Comment #4
nikathoneThis feature was also requested for drupal.org/project/addressfield at #970048: Define and use addressfield as a form element type
Comment #5
dwwThanks. Adding that as a related issue for more visibility.
Cheers,
-Derek
Comment #7
bojanz commentedDone! :)
Comment #9
dwwFYI: this might not be working properly. See #2848747: Address form element doesn't work on forms without #tree => TRUE
Comment #10
bojanz commentedI have it working on multiple forms, Commerce and non-Commerce. We need to identify what makes that issue different.
Comment #11
dwwGood to know, thanks. I didn't want to re-open this issue, just add a link for interested parties.
Comment #12
dww#2848747: Address form element doesn't work on forms without #tree => TRUE is now marked as a child of this, so it doesn't need to be more generally "related" in here...
Comment #14
joshi.rohit100@bojanz this works fine on custom form except the validation part as constraint validation only works for entity not custom form