Hi,
I wonder if it’s possible to pre-fill the waitlist form using current user’s name and email address, and automatically set Ticket Quantity to 1. I want to use it for a “member-only” website where users have to sign in before registering for any event, and can only buy one ticket for herself/himself.
Any suggestions would be greatly appreciated!!
You can make it so it automatically sets Ticket Quantity to 1 by setting the “Maximum number of tickets allowed per order for this event:” option to 1.
With regards to pre-filling the waitlist form if the WP Users Integration add-on is activated and the user is logged in, that’s on the to-do list and may be added before or after the Wait List add-on is officially released.
Thanks, Josh! That was very helpful.
Is it possible to make changes to the Waitlist form this way: make a copy of the file WaitListForm.php, place it in my active theme folder, and let it override the default one? Or do I need to directly modify the original file in eea-wait-lists-pr > domain > services > forms ?
@Josh: Thanks for following up!
I use EE as a registration system for LearnDash courses on my member-only website. And I want to make the following changes:
– Name and Email Address should be pre-filled with current user’s display name and email address.
– Preferred options: there will be only 1 ticket (Course Registration)
– Ticket quantity: always 1
So actually, users don’t need to enter anything in any of the four input fields. I guess ideally I want to hide all the labels and input fields (especially Preferred Option and Number of Ticket), and just pass the desired values (as mentioned above) to the next step.
Does that sound crazy enough?
/daniel
In this case, changes to the template will not be necessary because:
1) The initial release is planned to have support for WP User Integration so that if the user is logged in, those fields will already be filled in.
2) If you have one ticket option, then you can hide that field with CSS. No need to alter core code.
3) If you set “Maximum number of tickets allowed per order for this event: ” to 1 in the event editor, then the Ticket Quantity input will always be set to 1. Again, no need to alter core code, and if you did remove these items from the core code, you’ll break the form and it will no longer submit those values.
The support post ‘Pre-fill the waitlist form using user metadata’ 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.