formaction to external page
I have a quick question.
I've made a form with two submit buttons, one for emailing and one for printing.
I try to make the one for printing open on a external page with formaction.
How can I do this?
This is what is have:
I hope that somebody can help me.
<input type="submit" formaction="print.php" value="Print page">
With kind regards,
Simplest thing would be to make them two separate forms with separate action attributes. (You can use CSS styling to float them side-by-side or however you want them to appear.)
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Bear in mind that formaction does not work on IE9 and below. You might not think that matters, but, according to W3Counter they, collectively, still account for 12.6% of global web usage. That is more than Safari, Firefox and Android individually (though not collectively). I doubt you would think those browsers do not matter.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)