fill out form questionnaire?
I am creating in Flash CS4 (AS3) a static fill out form for a website that I am involved in. The questionnaire helps to determine whether a person is suseptible to drug and alcohol abuse with either a postive answer (not likely to develop substance abuse) or a negative answer (likely to develop substance abuse)
There are six questions on this form that MUST be answered either yes or no.
I have created the form with all art and buttons and it is ready to implement in Dreamweaver but need the scripting to make work.
The six YES buttons are assigned instance names of cb1, cb3, cb5, cb7, cb9 and cb11
The six NO buttons are assigned instance names of cb2, cb4, cb6, cb8, cb10
and cb12.
When the participant answers all six questions either yes or no they will hit a Submit button (with an instance name of submit) that will direct them to a new web/flash page with appropriate answer.
If the participant answers TWO or more questions with YES and hit submit they will be directed to a new page/doc in the website with the negative answer.
If the participant answers ONE YES and hit submit they will be directed to a new page/doc in the website with a positive answer.
If the participant answers ALL NO and hit submit they will be directed to a new page/doc in the website with the same positive answer as answering with ONE YES response.
I assume this is a very complex coding problem. I am a beginner/intermidiate flash person with extreme novice understanding of coding. I know what stop(); does in AS3 and understand simple clickTag coding etc.
Would appreciate any help with AS3 coding for this document.
I usually find coding on forums like these and online blogs - but I don't even know where to begin looking.
Thanks