Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
address 2 not transferred to registration form for member | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium address 2 not transferred to registration form for member

address 2 not transferred to registration form for member

Posted: June 17, 2013 at 9:25 am

Viewing 2 reply threads


Sue Peggs

June 17, 2013 at 9:25 am

Hi

In my question groups set up I have all of the address fields and the phone field added to the personal information group.  (So then when I create a new event I don’t tick ‘address information’ for ‘questions for attendees’.)

When I test registering for an event as a member (who has something specified for address 2 in their profile page) it transfers across all of the name, address and phone fields to the registration form bar address 2.  Any help with this appreciated.


Sidney Harrell

  • Support Staff

June 18, 2013 at 12:35 am

This code should be in the next version (3.1.34) coming soon. In the meantime, you can open up includes/functions/form_build.php and insert the following, starting at line 87:

case $question->system_name == 'address2':								
								$answer = $attendee_number === 1 ? htmlspecialchars( stripslashes( get_user_meta($userid, 'event_espresso_address2', TRUE ) ), ENT_QUOTES, 'UTF-8' ) : $answer;
								$html .= empty($answer) ? '' : '<input name="' . $question->system_name . $multi_name_adjust . '" type="hidden" value="' . $answer . '" class="' . $class . '" />';
								break;


Sue Peggs

June 21, 2013 at 2:48 am

Thank you.

Viewing 2 reply threads

The support post ‘address 2 not transferred to registration form for member’ 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 - Staging Server