I am very new to Wix code but I have created a custom RSVP form, which has a radio button group with 2 options with values being Attending and Not Attending.
If the user selects the option with the value Attending, when they click on the Submit button I want to redirect them to a separate Thank You page, likewise, if the user has selected the option with the value Not Attending I want to redirect them to a Sorry you cant make it page.
I have the following code, however, am getting an unexpected token error at Line 13. I suspect I have some bracketing and parenthesis wrong but after trying many different ways and searching for hours online for a solution, I just cannot find where I am going wrong.
Any assistance would be greatly appreciated. Thanks.