Active
Project:
Addresses
Version:
6.x-2.x-dev
Component:
User interface (forms)
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Mar 2011 at 00:07 UTC
Updated:
13 Apr 2011 at 18:06 UTC
I am wondering if it would be at all possible to create both billing and shipping address fields at user register. If the shipping is the same as billing it would auto populate.
Thanks
Comments
Comment #1
sean3z commentedYes, you would need to create and load a modified version of the addresses.js though (to support all fields). Below is an example; obviously, you'll need to substitute ID/array index information. As far as auto-population, you'd need to create a javascript listener for a 'Same As' checkbox or something to carry over data or disable the fields etc.
example_module.module
example_module_addresses.js
Comment #2
ColinMctavish commentedHey sean3z
Thanks for responding. However, I am one of those annoying non coders using Drupal. Finding my way in the dark. I would be unsure on how to implement this into the address module or user module. I was looking for more of a turnkey solution. But thank you