Conflict with add to cart button, captcha server side validation, and universal email...
I created a web enrollment form where I have inserted a captcha with server-side validation returning back to the form page (upon an error). I have also added validation to my text fields should the validation return back in error (so I do not lose user inputted data).
In addition, I have added an eCart "add-to-cart" button which directs an enrollment fee to the shopping cart. Lastly, I want the form to return the submitted data back to me via email using universal email.
Because I am using various features, I am having issues with how the form is redirecting. For example, if the captcha validation detects an error, the form redirects as it should, but the validated text fields do not retain the user inputted data. I am applying the validation from thr bindings panel using the form names indicated by the WA Validation list created by the WA server-side validation feature.
Even after filling in all the fields and the server-side validation passes, the form does not redirect to the shopping cart. It redirects back to the form page. I made sure that "add-to-cart" button has the cart.php included upon redirect. However, the button is configured to redirect upon a form post.
Lastly, how should I configure the redirect for the email so that the email can be sent successfully?