...I'll just give you these hints;
1. Read the appendix F in the book ASP 3.0
2. If you are prevented from that, it says;
"Independent check boxes:
Each NAME is different
Do not use VALUE
Test for NAME ="on"
Grouped check boxes:
All NAMES are the same
Each box gets its own VALUE
Sample 1, single checkbox:
<form action = "a" method = get>
<input type = Checkbox name = "Swahili"> Some text
<input type = submit>
</form>
a:
If request.querystring("Swahili")="on" then
....
end if
Sample 2, multiple independent checkboxes
<form action = "a" method = get>
<input type = Checkbox name = "Swahili"> Some text
<input type = Checkbox name = "Swa" checked> Some text
<input type = submit>
</form>
a:
If request.querystring("Swahili")="on" then
....
end if
If request.querystring("Swa")="on" then
....
end if
Sample 3, groups of checkboxes
<form action = "a" method = get>
<input type = Checkbox name = "Swahili" value = "Swahili">Some text
<input type = Checkbox name = "Swa" value = "Swa" checked> Some text
<input type = Checkbox name = "Swahi" value = "Swahi"> Some text
<input type = Checkbox name = "Swai" value = "Swai"> Some text
<input type = submit>
</form>
a:
If request.querystring("Swahili")="on" then
....
end if
If request.querystring("Swa")="on" then
....
end if
If request.querystring("Swahi")="on" then
....
end if
If request.querystring("Swai")="on" then
....
end if"
And if you are still confused, ask again! Do you need to have
VALUE = "ON" in your code?
Mvh
grstad
