I'm designing a feature where the user can create forms which then other will be able to fill out ( and either pass or fail). The user will be able to write questions and set which answers (yes or no) are needed to pass the form. There will be cases when user will want to create dependencies between questions.
For example, the user creates a form with a couple of questions. The person taking the form will pass it if he answers correctly on question A, B, C and EITHER D, E or F. If he fails to answer D , E or F correctly he fails the test.
My problem is creating the interaction that allows the user to set/link the dependencies between the questions. How do I show it in the UI? Are there any patterns out there I can use?
Quick mock for sketching attached below!
EDIT: OK thought of something. I'm not certain this solves the issue entirely but it's a step in the right direction. Imagine a column next to the questions with a label called something like 'link/group/dependency' where the user could select a colour or number from a dropdown.
Then explain in a paragraph above the form what the user can do in this view. In this case, explaining that the user can set a number/colour and that questions with the same link/group colour or number only require one of them to be answered correct to be able to pass the form?
New mock attached, in the image, answering correct on either of the questions in the blue 'group' would result the user taking the form to pass it. Thoughts?