Business logic of Require property in Questionnaire Template
Contents
Description
This property existed in both questionnaire template's properties and question's properties .
- Setting for questionnaire :
- Setting for question (non-Grid question)
- Setting for question (Grid question)
- Using in .NET
CatGlobe.Domain.Questionnaires.PropertyType.Required
- Using in Java
Property.REQUIRED
Business logic
Required as Questionnaire's property
- If this property is checked , it means that all the question in the questionnaire template , which are not specified Required property explicitly , will require the users answer it and they can't go to another question without answering .
Behind the code : the template will has property REQUIRED with the property's value is "true" .
- If this property is unchecked , it means that all the question in the questionnaire template , which are not specified Required property explicitly,will not require users answer it.
Behind the code : the template will has property NOT_REQUIRE with the property's value is "true"
Required as Question's property
This property is inherited from the value of property Required in a questionnaire. However, a question can set anew for this property through its Required property, and this value is only applied to this question.
- Inherited from Required property of questionnaire template :
In this case the there is not both REQUIRED and NOT_REQUIRED property register in question's property (the existed one will be removed). So the question will inherited from the Required property of the questionnaire template]
- Required property is checked
In this case , the question will has REQUIRED property with the property's value is "true"
- Required property is unchecked
In this case , the question will has NOT_REQUIRED property with the property's value is "true"
- If the question is a GRID question ( single grid , multi grid , scale grid , text grid) , users need to define which sub questions will be required . The range will be save to the value of correlative property (REQUIRED or NOT_REQUIRED).