+ 1

How to target to a website after form submit is clicked in html

20th Mar 2017, 5:59 AM
Samyak Jain
Samyak Jain - avatar
5 Answers
+ 10
maybe you can type this: <form method ="post" action="target.html">
20th Mar 2017, 7:10 AM
Agus Mei
Agus Mei - avatar
+ 3
Inside a form tag you have to fill the "action" attribute. <form method ="post" action="url to the website">
20th Mar 2017, 6:03 AM
Geoffrey L
Geoffrey L - avatar
+ 1
it tries to access the URL in the same directory
20th Mar 2017, 6:10 AM
Samyak Jain
Samyak Jain - avatar
0
oh yes that must expect a path and not an url... in this case I don't know :D
20th Mar 2017, 6:13 AM
Geoffrey L
Geoffrey L - avatar
0
You probably can do that with small piece of javascript or jquery and submit function... on submit -> redirect to that page. (Sorry I can't help you more I'm not using my computer)
20th Mar 2017, 6:16 AM
Geoffrey L
Geoffrey L - avatar