Re: I'm phuxored (complete ASP n00b) - Multiple checkboxes on a form?



Well, I've done simple stuff connecting to DBs and spitting info out.
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.

Mike Brind wrote:
"ManningFan" <manningfan@xxxxxxxxx> wrote in message
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


--
Mike Brind

.



Relevant Pages

  • Re: Im phuxored (complete ASP n00b) - Multiple checkboxes on a form?
    ... I understand some of the theory but I know little to nothing about ASP. ... I want to put several checkboxes on the form and allow as many ... What's the best way to set up a tableso that I can store individual ... bunch of checkboxes". ...
    (microsoft.public.inetserver.asp.db)
  • Re: How to work with multiple response sets in Access
    ... simple checkboxes. ... but it gets simpler if I have only one survey ... and a table to store each answer to each question for each survey ... store the values in a Boolean field in the answers table, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Adding A Value To A Field Using Checkboxes
    ... So you can't store the value in the query. ... With a Frame Number being compulsory and duplicate frame ... then only the checkboxes will be counted for that record. ...
    (microsoft.public.access.queries)
  • OT: Windows Live Messenger Issues
    ... Anyone had a problem where WLM doesn't store your login details even when ... you select the appropriate checkboxes on the sign-in window? ...
    (uk.games.video.xbox)
  • Re: Im phuxored (complete ASP n00b) - Multiple checkboxes on a form?
    ... Because we gave the same name to each of the checkboxes, this grouped them, ... If you are happy to store "Red,Green" in the field for Q1, then the Insert ... Mike Brind wrote: ... bunch of checkboxes". ...
    (microsoft.public.inetserver.asp.db)

Loading