Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor Mazi on the Logic & Conditions category

Improve general handling of mandatory questions at a survey  
Written by Mazi the 23 Oct 09 at 16:24. Related project: 1.x all. New
When creating / testing / editing a survey mandatory question are really annoying. I can think of these situations where making questions of a survey (temporary) non mandatory will be a great improvement:

1. (Developer) Testing possible bugs
When importing a survey for testing mandatory question can drive you nuts.

2. (User) Previewing a survey which is in development
You just want to take a look at the questions and survey design, having to answer all mandatory questions is a mess.
7
votes
up equal down
Solution #1: Disable mandatory check under certain conditions
Written by Mazi the 23 Oct 09 at 16:24.
Solution for 1.
A) If $debug is set to "2"/"3" don't execute the mandatory check.
B) New config setting "$ignore_mandatory", if set to "1" don't execute the mandatory check.

Solution for 2.
A) Create a "All questions are mandatory?" -> yes/no option at survey settings
B) Create an overview which lists all questions and a simple "mandatory yes/no" radio option. This way you can set up your survey without making question mandatory from the beginning at chose which questions should be mandatory at a later step.
This overview can be survey or group based.

See the 1 comments or propose a solution (latest comment the 25 Mar 10 at 23:11) >>