Support

Home Forums Event Espresso Premium Autopopulate Billing address

Autopopulate Billing address

Posted: November 16, 2018 at 5:30 am

Viewing 4 reply threads


Porter

November 16, 2018 at 5:30 am

We currently have two question groups that ask for addresses
1. Company address
2. Billing address

If these are the same for a registrant, is it possible to give them the option to autopopulate the Billing address from the Company address?

Thanks


Tony

  • Support Staff

November 19, 2018 at 3:33 am

Hi there,

We don’t currently have the option to copy values from one group into another within core.

It would be possible to do, but you’ll need some custom jQuery specifically for your question group, are you currently working with a developer familiar with jQuery?


Porter

November 19, 2018 at 4:45 am

Thanks Tony – yes we do have a developer who could help. Do you have any code I can show them?


Tony

  • Support Staff

November 19, 2018 at 9:10 am

I don’t have an example of copy the values from one group from another, but have some examples of how you can add jQuery to the checkout using wp_add_inline_script()

They are still going to need write their own custom jQuery to do the copy etc but here’s a couple of examples:

https://gist.github.com/Pebblo/44f47386d1221b7916d3ae906f6149c3
https://gist.github.com/Pebblo/dcafaf00741fcfab5b162ca2edd15700


Porter

November 21, 2018 at 6:36 am

This reply has been marked as private.
Viewing 4 reply threads

The support post ‘Autopopulate Billing address’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso