How to use the formaction attribute in input type submit to specify the form submitted URL in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
<body>

<form action="save.php">
Company name: <br / >
<input type="text" name="companyname">
<br /><br />
<input type="submit" value="submit - save.php">
<input type="submit" formaction="show.php" value="submit - show.php">

</form>

</body>
</html>

 



answered Jan 4, 2019 by avibootz
...