Trevilio
December 19, 2001, 08:01 am
I wasn't sure which section to post in so i guessed that this is the closest one...
I have a questionnaire form in an asp file that enters the collected data into an access database. Within that form there are several checkboxes in several different groups and it sends "yes" to a "yes/no" field in the database.
That all works perfectly bar one major problem:
There are, say for example, 5 checkboxes in one question (e.g. when would you like to be contacted? now, 1 hour, tomorrow etc). At present you can select as many check boxes as you would like but obviously that is no good to me.
So how would i set a checkbox to turn off when another is selected?
I know how you would do this in html (just use radio buttons to and set them to have the same name field) but in this case the name field is being used by the asp code to tell it where to send the data.
I hope someone can make some sense of this
I have a questionnaire form in an asp file that enters the collected data into an access database. Within that form there are several checkboxes in several different groups and it sends "yes" to a "yes/no" field in the database.
That all works perfectly bar one major problem:
There are, say for example, 5 checkboxes in one question (e.g. when would you like to be contacted? now, 1 hour, tomorrow etc). At present you can select as many check boxes as you would like but obviously that is no good to me.
So how would i set a checkbox to turn off when another is selected?
I know how you would do this in html (just use radio buttons to and set them to have the same name field) but in this case the name field is being used by the asp code to tell it where to send the data.
I hope someone can make some sense of this