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.

How to set value for a dummy question

From Catglobe Wiki
Revision as of 02:24, 21 November 2018 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


I have an "Age" question, with type number like this:

Then I want to convert these number into some groups of age, such as:

  • Under 40
  • [40-49]
  • [50-59]
  • [60-69]
  • 70 and Over

How to do?

- First, create a single question "D_AgeGroup" right after "Age" question, with such options:

- Then, set D_AgeGroup become dummy question on Properties tab

- Finally, go to CGScript tab, write cgscript for setting D_AgeGroup from Age

You are done.

On viewer, when clicking next at Age question, value of D_AgeGroup will be set