Building “age groups” based on numeric question

0

Dear GizmoCommunity,

I would like to create a hidden “age groups”-question (radio button) based on the answers of a numeric question (open text field) which is asked before.

For example:

All participants who typed in >=25 and <=34 should be group “25-34 years”.

( ) 18-24 years

( ) 25-34 years

( ) 35-44 years

 

Is there a special Merge Code which has to be insert to “Default Answer”?

 

Best regards,

Chris

Jim W (Moderator) answered
    0

    Hi Chris,

    If i understand your question correctly, you will need a custom script to accomplish this action.

    This script would first have to get the respondent’s answer from the open text box, evaluate it to see which age group pertains, and then place the appropriate age-group value in the hidden question. 

    You can use Merge Codes to define default answers, but what you are describing goes well beyond that. 

    Jim W (Moderator) answered
      ×

      Login

      Question stats

      • Active
      • Views1296 times
      • Answers1 answer
      • Followers1 follower