• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

206
Views
How to redirect to a thank-you.html page after form submission (javascript)

I am using a service called email.js

https://www.emailjs.com/

Here is the script:

  ```emailjs
                    .send(
                        "service_qenubp3",
                        "template_htul1w9",
                        templateParams,
                        "FKN-7Z513oHHBUzlm"
                    )
                    .then(
                        function (response) {
                            console.log(
                                "SUCCESS!",
                                response.status,
                                response.text
                            );
                            setEmailSent(true);
                        },
                        function (error) {
                            console.log("FAILED...", error);
                        }
                    );
            };
        };

I have a functioning form using their script however there is no from success page redirect option.

I would like to simply redirect using this script:

  window.open("https://rococo-kelpie-4411df.netlify.app/thankyou.html
");
}

I am having trouble implementing it.

Here is the URL where the form is working (click start here) minus the thank you page.

https://rococo-kelpie-4411df.netlify.app/xindex

about 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error