Click to See Complete Forum and Search --> : Need Help with Form Data


prettynpinknc
05-03-2009, 02:00 PM
I am trying to create a page where a user inputs data into text boxes/areas which will then be submitted and return another page with their input data where I can control the layout(the user is inputting resume info which upon submit the information will be properly formatted so the user can print the page and have a working resume).

Here is the beginning of my form:

<body>
<script type="text/javascript" src="projectJS.js"></script>
<hr width="60%" />
<h1 align="center">Build Your Resume</h1>
<form action="resumeProcessor.html" method="get" name="resume" onsubmit="return validateSubmission(this)">
<p>
<input name="name" type="text" id="name" value="Full Name" size="75" />
</p>
<p>
<input name="address1" type="text" id="address1" value="Street Address" size="73" />
</p>


Now I am at a loss as to what to do or if that is even the correct way to do it. On the submit page I want to be able to format their answers into a table to get my desired outcome.

Any help would be greatly appreciated!

DistantUK
05-04-2009, 12:24 AM
You can do this 2 ways (off the top of my head).

JavaScript can be used but this will create the "printable" form on the same page.

Or,

You can use php, which would allow you to post the form results to the another page and then you can build your page and have php render the values inside the HTML.
I would suggest using someway of holding the data (a database), so the information will remain if the page is lost.