Welcome visitor
* Login
* Register
It is currently July 19th, 2019, 6:30 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  help with a simple form
PostPosted: August 2nd, 2009, 4:26 am 

Posts: 13
im pretty new to html but i dont think im doing a complex thing. I only have a survey on my site with an input field to get the answer but i dont know how to get what is on the text box, seems like nothing happens
<form action="" name="form">
<input name="answer">
<input type="submit">
</form>

where is the answer going???


Top
 Profile  
 
  Re: help with a simple form
PostPosted: August 2nd, 2009, 4:40 am 

Posts: 46
the form goes to whatever the action is. in your case action is empty (action="")

it should be something like
action="getAnswer.php" //if you are using a server side language
action="mailto:youraddress@abc.def" //to send the answer to your e-mail


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron