Click to See Complete Forum and Search --> : Form to HTML


Darren
05-10-2005, 04:11 PM
I'm trying to do something similar to this: http://www.castiron.org.uk/Membership.php

Once the details are entered and submitted it simply gives the user a Printer Friendly page.
I cant find a script to use though I have access to php on my server, does anyone know where to get such a script?
All i can find are Form to Emails

Many thanks

TheBearMay
05-11-2005, 07:57 AM
Extremely rough, but may give you some ideas:

Last Name:
<input id="lName" type="text" length="50" /> <br />
First Name:
<input id="fName" type="text" length="50" /><br />
<button onclick="pFriendly()">Printer Friendly</button>
<script tpye="text/javascript">
function pFriendly(){
var newWin=window.open("","pWin");
newWin.document.write("Last Name: "+document.getElementById("lName").value+"<br />");
newWin.document.write("First Name: "+document.getElementById("fName").value);
}