Support

Home Forums Event Espresso Premium Wait List Manager – asking for phone number

Wait List Manager – asking for phone number

Posted: February 12, 2019 at 1:53 pm


dafaguru1

February 12, 2019 at 1:53 pm

Hi,

how can i add the phone number or other questions like “date of birth” to the wait list pop-up? where do i have to put a code snippet? In functions.php of the theme or the EE plugin?

thanks for helping me πŸ™‚


Tony

  • Support Staff

February 13, 2019 at 4:20 am

Hi there,

how can i add the phone number or other questions like β€œdate of birth” to the wait list pop-up?

Whilst you can add questions to the form, it needs to be done through code and its not expected that you will request questions that you will ask on the registration form on the waitlist form. Its intended to allow the user to add their name to the list and then provide their details when needed, so when adding DOB and other questions questions to the list, I’m not sure where you are going to store the answers?

Phone number can be done and we have a snippet showing an example of doing so here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wait-lists/tw_ee_add_registrant_phone_to_waitlist_form.php

where do i have to put a code snippet? In functions.php of the theme

You can place your snippets into a custom functions plugin and we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

or the EE plugin?

Adding code directly to the plugin is almost never the correct answer as when you update the plugin any modifications to any file in that plugin (even if theres no changes to it in the new version of the plugin) will be lost.

So you always add your code to a plugin using the hooks available within the plugin and if one isn’t avaiulable for what you need, you can request one be added πŸ™‚


dafaguru1

February 16, 2019 at 5:37 am

great, it works, thanks for helping me πŸ™‚


Tony

  • Support Staff

February 18, 2019 at 2:59 am

You’re most welcome.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 3 days, 11 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!