Hi! I was just hired by a client to create a series of Flash surveys. Here’s what I need to do:
Create a system where the people being surveyed can enter their name and survey number and be sure they match up (identification system). Then, the survey should appear. It should be a series of multiple choice questions (using radio buttons). Each question should have a “submit” button at the bottom which advances the user to the next question. At the end of the survey, the answers, person’s name and survey number (which was entered at the beginning) should all be stored in either a database or could be emailed (but a database is preferred).
I just wanted to make sure I’m going about this correctly. Here’s what I plan to do:
Create a sort of faux-login system, that just uses “if” statements to make sure the name and survey number match up. Then store the name and survey number in variables.
Next, the person should be advanced to the first question, which will be in its own MC (all of the questions will be in one MC).
I’ll make the radio buttons, and will store each answer in its own variable. At the end, the user will be sent to a thank you page, that will load all of the answers into an answers MC.
I plan to use loadVariables(); to send the variables to a PHP document that will then email them to the client.
My question is: **How do I make it so that once a person has used an ID number to complete the survey, that ID number then becomes invalid? (I can’t use local shared objects because some people may fill out the survey from the same computer but with different ID numbers.
**
Thanks,
ARDesigns