Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect display order for sections and enforce mandatory questions #501

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sami-t
Copy link

@sami-t sami-t commented May 20, 2015

I modified the previous and next button helpers to respect the display order property of sections and allow server-side control of survey flow. I also wrote a new method to check whether all mandatory questions in a given section have been answered. This works correctly for labels, optional questions, etc. The last commit uses this method to add a configurable option which can prevent the user from moving to the next section before completing all mandatory questions in the current section.

sami-t added 3 commits May 19, 2015 23:38
This allows the section order to be set manually. It also has the advantage of enabling server-side control of survey logic (for example by enforcing mandatory questions).
…ry questions in the current section (optional parameter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant