Support

Home Forums Event Espresso Premium Custom Event Registration Submit Form

Custom Event Registration Submit Form

Posted: January 22, 2016 at 11:21 am


espnicholas

January 22, 2016 at 11:21 am

Hey all,

I’m wondering if you can point me in the correct direction. I need to customize the event registration on the single event page. The current schema of how it’s has been built does not fit with the requirements I need it to work with for the layout (html wise).

I’m wondering if it is possible to customize this template? I’m having a hard time navigating the documentation and I haven’t found anything of value to find where I should go to customize this. Also I would need to be able to submit the form using ajax.

Any help would be great, thank you.


Josh

  • Support Staff

January 22, 2016 at 11:43 am

Hi there,

It turns out that the registration form in Event Espresso is already submitted using AJAX.

For changing the layout, I can recommend starting with applying changes to a custom stylesheet. If you also need to change the structure of the registration form’s html, that may be something that can be done by using the WordPress plugin API via actions and filters. If you can describe the change you’re looking to make in a bit more detail we may be able to point you in the right direction.


espnicholas

January 22, 2016 at 11:54 am

Thanks for the quick response Josh!

Here is the initial prototype so far:

http://i.imgur.com/0Z0iiFg.jpg

I just need to figure out the structure for the submit and the data that is required. I know there is some hidden inputs for validation when digging through the source files. But I was wondering if there is a far more simpler way of how I am going about it.


Josh

  • Support Staff

January 22, 2016 at 12:34 pm

Oh I see, you want to change the layout of the ticket quantity selector, not the registration form. I’d recommend a CSS approach here. If you absolutely need to change the html markup, please take care not to remove any of the inputs. If you look within the ticket_selector_chart.template.php template, you’ll find a good number of action/filter hooks that can be used to modify the template without completely changing it.

As a last resort, you could override the template completely by loading in your own custom template by hooking to the
FHEE__EE_Ticket_Selector__display_ticket_selector__template_path
filter. Please note that we generally don’t recommend or support overriding this template because doing so will likely break forward compatibility with future versions of Event Espresso.


espnicholas

January 22, 2016 at 1:34 pm

Thanks Josh, I actually figured out how to extend it into my own files while keeping the core untouched. Thanks for pointing me in the correct direction!

Thanks again

The support post ‘Custom Event Registration Submit Form’ 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