0
<form action="/action_page.php">
what ia the value of action what does it do??
1 Answer
+ 2
It's adress to a script that will process data submitted via the form. Just like onsubmit specifies JavaScript function that is invoked on form submit.
Action is used when you use php, but you can also use it just to redirect a user to another page once the form is submited.