Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- From: "Mike Brind" <dummy@xxxxxxxxxxxxxx>
- Date: Mon, 22 Jan 2007 16:38:33 -0000
"ManningFan" <manningfan@xxxxxxxxx> wrote in message
news:1169481195.114854.248970@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Mike Brind wrote:
"ManningFan" <manningfan@xxxxxxxxx> wrote in messageWell, I've done simple stuff connecting to DBs and spitting info out.
news:1169231568.206216.255150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I apologize for being a total n00b here, I'm pretty good with Access so
I understand some of the theory but I know little to nothing about ASP.
I want to create a form. On the form will be a question, something
like, "Which cars are your favorites?"
I want to put several checkboxes on the form and allow as many
selections as they want to check off.
I also want to put a text box where the user can leave comments, and
another where the put their name.
What's the best way to set up a table(s) so that I can store individual
responses to the form? How do I write the code if I'm going to do this
in ASP with an Access back end? Any help would be appreciated.
First, you will need to know enough about ASP and ADO so that you can
connect to a database and perform an insert operation. You will also
need
to understand how an html form passes values either using POST or GET.
Finally, you will need to know how to retrieve the values from the posted
form.
www.w3schools.com/asp and www.w3schools.com/ado will get you started.
Another very good tutorial series can be found here:
http://msconline.maconstate.edu/tutorials/ASP/default.htm
I just need to kno whow to store the value of a bunch of checkboxes and
keep it so that if more checkboxes are added in the future I can do it
through a table or something instead of having to edit the code.
I'm not sure I understand what you mean by "how to store the value of a
bunch of checkboxes". Do you mean how to insert a bunch of values in a
database? If so, you use an Insert statement.
In terms of how you structure your table, that depends on what kind of
information you want to get out of it at the end.
--
Mike Brind
.
- Follow-Ups:
- References:
- I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- From: ManningFan
- Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- From: Mike Brind
- Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- From: ManningFan
- I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- Prev by Date: Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- Next by Date: Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- Previous by thread: Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- Next by thread: Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?
- Index(es):
Relevant Pages
|
Loading