Building “age groups” based on numeric question


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,


Jim W (Moderator) answered

    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


      Question stats

      • Active
      • Views1331 times
      • Answers1 answer
      • Followers1 follower