• Resolved Atoupro

    (@atoupro)


    Hi,

    When submitting event registration form, we would like also to submit it to an external registration program.
    Is there a need to use a hook to change the form action url or to submit the form data to an external url in parallel?

    Thanks in advance.
    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Currently it would require you to do some custom coding. An alternative method is after submitting the Bookings details. You could try to hook into the filter called “em_booking_save” This would contain all the data that is submitted by the user along with the Event and Bookings Details. An example would be (https://pastebin.com/ihVugcPJ)

    Thread Starter Atoupro

    (@atoupro)

    Hi,

    Thank you for your (very) quick response ??

    It seems to be a workable solution. I would just know what contains $result and $EM_Booking?

    Thanks in advance.
    Best regards.

    Hello,

    I think the best way is you could try the following code and use the PHP function var_dump (https://www.php.net/manual/en/function.var-dump.php). This would show up all the data that are inside those variables.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Submit to external registration program’ is closed to new replies.