Disabling Submit button until user selects at least two choices

Hi, everyone!  Is there an  easy way to disable or hide the submit button until the user selects at least two answers in a Pick Many freeform interaction?  I know that I probably need to use true-false variables, but I can't wrap my head around how to tell Storyline to track that the student has selected at least two of the choices before enabling the button.  I also would like a message to show "You must select two responses" or something like that if they attempt to use the submit button.  Any ideas?

3 Replies
Michael Hinze

Have a look at the attached and see if this approach might work for you. The submit button is disabled at the start and will be enabled when at least two buttons are selected and disabled if not. I use a True/False variable to signify that any of the buttons was clicked. Based on that change I use a numeric variable to count how many of the buttons are selected.

I don't quite see the point of having the "You must select two responses"  message, because the Submit button is disabled anyway until they select two choices.