Notice in Brenden's solution, he uses Initially Hidden Frames which are set to "Stop mouse clicks passing through", which Show whichever Answer Button is selected. This prevents a second response.
I like that solution, except you can't change your answer if you decide you made a mistake.
My "non-script" solution involves having a variable for each question, then one more for a Total, with no Frames. I have a Page On Show which Rests all the Variables. Then, whichever answer is selected sets my variable "A1" to "1". If you go back and change your answer, A1 is still "1".
I also would use Brenden's "Variable Changed" Trigger on the Page for my "Total" variable, but I'd use "Set Variable To Expression" to calculate my Total variable. The expression would be A1 + A2 +A3, etc. THEN I'd have Brenden's "If Total=" Action plus the Show Button.
OPUS provides multiple ways to achieve just what you want. I LOVE the fact you don't have to use Scripting!
_________________ Fred Harms, Extraordinary Demos Naperville, Illinois (USA) 630/904-3636 demofred@aol.com
|