Support

Home Forums Event Espresso Premium Auto fill in form all fields with user integration

Auto fill in form all fields with user integration

Posted: September 5, 2016 at 4:00 am

Viewing 3 reply threads


Talmor

September 5, 2016 at 4:00 am

Hello EE,
We thought with the addon WP users the form will be auto filled in when a user is logged in. But only the name and email address is filled in.
We really need to achieve all fields are auto filled in.

How do we achieve something like that?


Tony

  • Support Staff

September 5, 2016 at 4:18 am

Hi there,

By default the Users add-on only autofills the First Name, Last Name and Email Address fields, however we have a couple of custom functions that that may work for you here.

This function pulls in the address information for the user:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

The function pulls in any previous answers to custom questions your users may have answered:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

You can add those functions to a Custom Functions Plugin within your site to pull those details.


Talmor

September 6, 2016 at 5:54 am

NICE!
it seems to work. Great job! ๐Ÿ™‚


Tony

  • Support Staff

September 6, 2016 at 6:41 am

Thank you ๐Ÿ™‚

If you have any further questions just let us know.

Viewing 3 reply threads

The support post ‘Auto fill in form all fields with user integration’ 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