Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form reply using a button. HELP!! How do I do that.

Status
Not open for further replies.

SeekingAnswers2003

Technical User
May 22, 2003
16
MX
Hi to all,

I'm a newbee at this HTML coding. So bare with me. I'm trying to create a form with some basic questions and multiple answers selection.
At the bottom I have a submit button. I can't make it work. I'm sure there are things I'm skipping.

Can anyone point me to a simple website for me to read on, or can you tell me, step by step what I need to do for this to work.

Thank you.
Daniel.
 
If I could see some code I could tell you what you are missing.
forms basically are

Code:
<form action="page_to_go_to.html" method="post" name="name_your_form">

form elements go here- like, <input> <textarea> <checkbox> all  with names.

<input type="submit" name="Submit" value="Submit">

If you describe what the problem is(i.e. it won't show up on the page, it won't submit, etc), and show some code, then it will be easier to help.

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
opps, you should close your form at the end after the submit button too
</form>


----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Reasons your submit button might not be working:

1- It's not BETWEEN your [tt]<form></form>[/tt] tags

2- It's not a submit button, but a regular button.
Submit button context: [tt]<input type="submit">[/tt]

3- You have not declared an action attribute in your form.
[tt]<form name="the_form" action="other_page.html">[/tt]

*cLFlaVA
----------------------------
Lois: "Peter, you're drunk!"
Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top