This seems like such a dumb question, but I'm not getting it. Is it possible to pull information from a designated form in HTML that uses Javascript to another form that will post to PHP?
This is the first form:
<form name="quizmodule1" method="get" onsubmit="tester()">
<h4>1. Who is UIU accredited with?</h4>
<input type="radio" checked name="R1" value="V1">Middle States Association<br />
<input type="radio" name="R1" value="V2">Higher Learning Commission<br />
<input type="radio" name="R1" value="V3">Western Association<br /><hr>
<h4>2. Which learning modalities does UIU utilize?</h4>
<input type="radio" name="R2" value="V4">Online<br />
<input type="radio" name="R2" value="V5">External Degree<br />
<input type="radio" name="R2" value="V6">Both of those are used<br /><hr>
<h4>3. UIU wants to encourage lifelong learning from its students.</h4>
<input type="radio" name="R3" value="V7">True<br />
<input type="radio" name="R3" value="V8">False
<p> </p> <hr> <div align="center"><center>
<p><input type="button" name="score1" value="Get Score" onClick="tester()" /></p> </center></div> </form>
Which works perfectly fine with the javascript code I set up in the document.
But this form calls the php file I need.
<form action="http://www.uiu.edu/eufaculty/facultytraining/mod1quiz.php" method="POST">
<p>Please enter your first name:<br>
<input type="text" name="fname" size="25"></p>
<p>Please enter your last name:<br>
<input type="text" name="lname" size="25"></p>
<p>Which center will or do you primarily teach at?<br />
<select name="center">
<option>Alexandria</option>
<option>Ankeny</option>
<option>Blackhawk</option>
<option>Des Moines</option>
<option>Elkhorn/Racine</option>
<option>Fort Leavenworth</option>
<option>Fort Polk</option>
<option>Fort Riley</option>
<option>Madison</option>
<option>Milwaukee</option>
<option>Prairie du Chien</option>
<option>Waterloo</option>
<option>Wausau</option><br /><br /></select>
</p><input type="hidden" name="score1" />
<input type="submit" name="submit" value="Submit Information" /></form>
I'm not sure positive this works as I have yet to say "congrats" on it. I'm not sure what to do. Can I do a form over a form kind of thing? Any suggestions?
Thanks!