How would I go about creating the coding for a submit button that links to another page? And I would I go about creating the coding for the reset button that resets the page? I go about creating a code to do so, but it never works. Here is the coding I have for the submit button:

<p id="pbuttons"><center>
   <input type="reset" value="Reset" />
   <input type="submit" value="Submit Order">
7 Years
Discussion Span
Last Post by Graphix

First of all: it doesn't seem like you have had alot of experience with regular XHTML and as so don't know how a form works.

If you would like to have a form that is submitted to another page and has a reset button, use something like this:

<form action="formhandler.php" method="post">
Enter something here!<br />
<input type="text" maxlength="255" name="someText" /><br />
<br />
<input type="submit" name="submitbutton" value="Submit this form!" /><input type="reset" name="resetbutton" value="Delete all the values of the form!" />

For more information about forms and such, please see some of the following links:



This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.