What I have - and I thought this was clever but ... is a form that has several
fields which I was planning on using the post method to run RespondToAddSkillPoints.asp
that actually does the DB update. The clever part ... or so I thought was the submit button
within the form that pops up a separate window (and runs popgeneral.asp) that access the DB
and provides a way to fill in one of the fields within the form. (This gets around the limitations
of combo boxes and works great until I changed the method of the form to POST at which time
when I hit the popup window is now casusing and the base page to refresh with an error.
Any ideas on keep the original page from changing while I fill in the form field before
I hit the form submit action button?
Thanks
CODE
<form name="test1" action="RespondToAddSkillPoints.asp" method=post>
<p>Week: <input type="text" name="T_week" size="6"> <br>
PlayerID: <input type="text" name="T_PlayerID" size="8">
<input type="submit" value="Select" name="btn" onclick="popgeneral('test1.T_PlayerID', 'SELECT Players.PlayerID, Players.First, Players.Last, Players.fldUsername FROM Players ORDER BY Players.fldUsername;', 'PlayerID')"><br>
Skill Points: <input type="text" name="T_SP" size="10"><br>
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2"></p>
</form>