Forum Discussion

RaeganMadoerin's avatar
RaeganMadoerin
Community Member
3 days ago
Solved

Preventing Invalid Response

Hello, I have made a questionnaire that scores users on their hazardous attitudes based on likert scales. They are set up so that the user must score the most likely scenario as a "5", the next mos...
  • JudyNollet's avatar
    2 days ago

    RaeganMadoerin​: That's an interesting challenge!

    Using number variables and then totaling them isn't a good idea. After all, the total would equal 15 if I selected five 3's. 

    The attached file has a different way to verify that the user selects one button in each row and one button in each column. 

    The checking is done with triggers on invisible layers. One layer checks that each row has a selection. If not, it shows a Warning layer. If so, it "shows" the next invisible layer.

    That invisible layer checks whether each column has a selection. If not, it shows the Warning layer. If so, it shows the Done layer. The Done layer is where NEXT is enabled. That layer's Slide Layer Properties prevent the user from clicking the base. So there's also a button to reset the important parts of the interaction if the user wants to change their answer. 

    I put programming notes under the slide area of those layers to explain what's happening.

    The demo only has 3 rows and 3 columns. But the programming could be adjusted to account for more choices. That just means more triggers. 😁