Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Business logic of Require property in Questionnaire Template

From Catglobe Wiki
Revision as of 09:21, 7 April 2009 by Catglobe (talk | contribs) (New page: == Description == This property existed in both questionnaire template's properties and question's properties . *Setting for questionnaire : Image:QnaireRequired.JPG‎ *Setting for q...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).