Business logic of Require property in Questionnaire Template

From Catglobe Wiki
Revision as of 11: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)
Jump to: navigation, search

Description

This property existed in both questionnaire template's properties and question's properties .

  • Setting for questionnaire :

QnaireRequired.JPG

  • Setting for question (non-Grid question)

NonGridRequired.JPG

  • Setting for question (Grid question)

GridRequired.JPG

  • 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 :

Inherited.JPG
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

Checked.JPG
In this case , the question will has REQUIRED property with the property's value is "true"

  • Required property is unchecked

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