Computer Science Canada School Violence Survey |
Author: | didsbub [ Fri Dec 09, 2005 10:40 am ] |
Post subject: | School Violence Survey |
A violence in schools survey for grade 10 computers |
Author: | Tony [ Fri Dec 09, 2005 10:57 am ] |
Post subject: | |
I can't view statistics before filling out my answers, it just crashes. And once I pick an choice, I can't change it |
Author: | didsbub [ Fri Dec 09, 2005 12:28 pm ] |
Post subject: | |
The point of this program is for a bunch of people to take the survey before viewing the statistics. I disabled the buttons so you could only answer each question once. |
Author: | sylvester-27 [ Fri Dec 09, 2005 12:47 pm ] |
Post subject: | |
you shouldn't do that. you should put the disable option in comments so they have a choice |
Author: | didsbub [ Fri Dec 09, 2005 12:49 pm ] |
Post subject: | |
Why would I do that??? I only want them to answer each question once |
Author: | Tony [ Fri Dec 09, 2005 12:55 pm ] |
Post subject: | |
what if I've accidentally picked an option, but I really ment to click on another? |
Author: | didsbub [ Fri Dec 09, 2005 2:09 pm ] |
Post subject: | |
Good point!!! |
Author: | nastynika [ Tue Dec 13, 2005 10:57 am ] |
Post subject: | |
thats what the reset answers button is for |
Author: | timmytheturtle [ Tue Dec 13, 2005 11:00 am ] |
Post subject: | |
then you would have to re-choose all the questions |
Author: | nastynika [ Tue Dec 13, 2005 1:48 pm ] |
Post subject: | |
what are u too lazy that you just cant re-answer 5 questions |
Author: | didsbub [ Tue Dec 13, 2005 4:01 pm ] |
Post subject: | |
You just have to make sure your selecting the right answers, its not that hard. It's either a yes or no |
Author: | Albrecd [ Tue Dec 13, 2005 5:12 pm ] |
Post subject: | |
Sylvester Said: Quote: you should put the disable option in comments so they have a choice
Didsbub Replied Quote: Why would I do that???
I only want them to answer each question once If you get rid of the Disable as Sylvester said, the users would still only be able to answer once to each question. |
Author: | wtd [ Sat Dec 17, 2005 7:03 pm ] | ||||||||
Post subject: | |||||||||
If you're going to do things this way, why isn't "radioButton" "radioButton1"? Or, what about using a multi-dimensional array?
Your code could also seriously use some empty lines. I see things like:
And I just scratch my head. Why have this?
What is "cnt"? Is it "count"? If so, what is it counting, and why was it abbreviated? You have "label1", "label2", etc. Why not have these as an array? Actually, these variables never get used again, so why bother having them at all? |