Can anyone help with my variable/value/radio button query please!?

Sep 26, 2016

Hi heroes!

I am in the process of creating a simple VAK learning style quiz that you complete to establish your preferred learning style.

The user is assigned a preferred style by selecting mostly A's, B's or C's. 

I have added a trigger to add a value of 1 to either the A, B or C variable when the user clicks on the appropriate radio button, the problem is the user isn't restricted to only selecting one radio button. They could potentially click one (add a value of 1) and then click another before submitting... They could also click the same radio button several times before submitting which will also damage the intended result.

Is there a way of remedying this? I hope it makes sense!

I have attached the file (work in progress) for additional info.

Hope you can help!

Thanks,

James

3 Replies
Dave Cox

To do what you want, try adding your point when the user clicks the submit button instead of when the user clicks the radio button. Add three triggers to the submit button, one for each possible result, and place them before the submit interaction. 

For example, the triggers would look like:

Add 1.00 to A when the user clicks the submit button If Radio Button 1 - "A)..." is equal to selected.

Add 1.00 to B when the user clicks the submit button If Radio Button 1 - "B)..." is equal to selected.

Add 1.00 to C when the user clicks the submit button If Radio Button 1 - "C)..." is equal to selected.

Submit Interaction Pick One When the user clicks the submit button

I've made the change to the first slide for you.

This discussion is closed. You can start a new discussion or contact Articulate Support.