Support

Home Forums Wait List Manager Add-on 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.

The support post ‘Wait List Manager – asking for phone number’ 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