Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
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 4 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 Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!