I am creating a form in WixCode for my client which needs to do the following:
1. Navigate to a light box that thanks the user when submission is successful.
2. Submit an email to the owner with the answers to the questionaire
Navigation to the lightbox link works fine, For the 2nd requirement I followed the instructions from this article:https://support.wix.com/en/article/how-to-send-an-email-on-form-submission#event-handler
and pasted the code, and modified it somewhat to reflect the form. The one thing I am fuzzy on is how to link the event handler to the submission button. I am aware that the correct field name are not yet entered into the event handler code, but I would first like to link the submit button to the code and then I can figure out the rest. Here is the link to the page:
Thanks in advance.