Redirect form after submit

Add the onClick values

onClick values

<f0rm target=”_blank” action=”” method=”POST”>
<input type=”hidden” name=”fullname” value=”Sam”>
<input type=”hidden” name=”city” value=”Dubai “>
<input onclick=”window.location.href = ‘’;” type=”submit” value=”Submit request”>

*replace f0rm with form, I didn’t want the form to render on this website.

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Website Design; the Process

The web industry is, perhaps, is the most evolving industries by nature. Designers have to keep up with new and emerging trends and advancements so that they can make sure that the website they create is one that serves the brand, the customers, and something that outperforms the competition. While some view it as a… Read More

Defining what content shows up based on page type

Quick code to define what content shows up based on page type. I had to have different containers show up depending on page. The Code