kaylawishing
New member
I'm new to html. I made a code in which a user enters there first/last name, a value between one and five, and any comments they have. I also have a submit button. I know when the user clicks submit the information is sent to "html_form_action.asp" on my server. I'm not sure how to write the code to accept the data from my user's input.
I want my output (on a separate webpage) to read:
First name-Last name
(A single number 1 to 5)
What ever comments they put in
I'm not concerned about formatting. Simplistic like the below is fine:
<p> First name last name <br>
(the number they selected between 1 and 5) <br>
The input from the user's form </p>
So you can have a better Idea of what I'm talking about here is the code I have for input.
<html>
<body>
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
<p> Rate your satisfaction with the work. <b> 5 being the highest! </b> </p>
<form>
<input type="radio" name="Rating" value="1" /> 1
<input type="radio" name="Rating" value="2" /> 2
<input type="radio" name="Rating" value="3" /> 3
<input type="radio" name="Rating" value="4" /> 4
<input type="radio" name="Rating" value="5" /> 5
</form>
<form method="post" action="http://"><textarea name="comments" cols="50" rows="10" class="html-text-box">Enter your review here...</textarea><br><input type="submit" value="Submit" class="html-text-box"><input type="reset" value="Reset" class="html-text-box"></form><p style="font-size:10px;"></p>
</body>
</html>
I updated code and made some progress. You can see here
http://answers.yahoo.com/question/index?qid=20101218182828AAx8O1x
I want my output (on a separate webpage) to read:
First name-Last name
(A single number 1 to 5)
What ever comments they put in
I'm not concerned about formatting. Simplistic like the below is fine:
<p> First name last name <br>
(the number they selected between 1 and 5) <br>
The input from the user's form </p>
So you can have a better Idea of what I'm talking about here is the code I have for input.
<html>
<body>
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>
<p> Rate your satisfaction with the work. <b> 5 being the highest! </b> </p>
<form>
<input type="radio" name="Rating" value="1" /> 1
<input type="radio" name="Rating" value="2" /> 2
<input type="radio" name="Rating" value="3" /> 3
<input type="radio" name="Rating" value="4" /> 4
<input type="radio" name="Rating" value="5" /> 5
</form>
<form method="post" action="http://"><textarea name="comments" cols="50" rows="10" class="html-text-box">Enter your review here...</textarea><br><input type="submit" value="Submit" class="html-text-box"><input type="reset" value="Reset" class="html-text-box"></form><p style="font-size:10px;"></p>
</body>
</html>
I updated code and made some progress. You can see here
http://answers.yahoo.com/question/index?qid=20101218182828AAx8O1x