@DLee1993
Submitted
Feedback is always welcome :)
@DLee1993
@JulienLach
Submitted
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 !
@DLee1993
Posted
I'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 helpful
@JulienLach
Submitted
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 !
@DLee1993
Posted
Hey,
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 helpful