Feedback is always welcome :)
David Lee
@DLee1993All comments
- @DLee1993Submitted over 1 year ago@DLee1993Posted 11 months ago
-- SIDE NOTE --
The current HTML Validation errors showing are due to the mantine ui library and how they nest elements, unfortunately I am unable to change this
0 - @JulienLachSubmitted 12 months ago
Hi ! I have one issue, when i click on the submit button, it doesnt redirect me to the thank page.. I can't find the issue in the JS file, anyone can help on this ? Thanks !
@DLee1993Posted 12 months agoI'm not a 100% but i think you need to add the method "get" to the form and that will send the form data through the url and then you can get the data in js, please look into these resources for a basic explanation of how to send the data and then retrieve it in js :)
GET Method -https://www.w3schools.com/tags/att_form_method.asp#:~:text=The%20form%2Ddata%20can%20be,is%20limited%20(about%203000%20characters)
Get data from url - https://sentry.io/answers/how-to-get-values-from-urls-in-javascript/
Once you can retrieve the data, all you then need to do is append that data to the email element on the thank you page :)
Marked as helpful0 - @JulienLachSubmitted 12 months ago
Hi ! I have one issue, when i click on the submit button, it doesnt redirect me to the thank page.. I can't find the issue in the JS file, anyone can help on this ? Thanks !
@DLee1993Posted 12 months agoHey,
I believe your issue is as follows,
You currently do not have a url attached to the form for a redirect, please try the following and see if that works
<form action="thank.html" method="POST">also, don't forget to add a link instead of a button to the thank you page ( dismiss message button ) so the user can redirect back to index
Marked as helpful0