autocode age into group | XM Community
Skip to main content

Hi Qualtrics Community,
I am a newbie here.

I'd like to have a question asking about respondent's age,
and then autocode the answer to a hidden question named age_group.

May i ask:

  1. how to autocode, i searched around in the community and found all the solution require JS, but seems like my account dont have that lience, is there anyway to autocode without JS?

  2. is there anyway to hide and skip age_group question without JS

Screenshot 2023-02-09 160842.pngPlease can you help?
Thanks in advance


https://community.qualtrics.com/XMcommunity/discussion/23896/autocode-age-into-groupYou need to create a embedded data in survey flow and apply condition to it this way you can capture the ages in certain groups. Refer to this link let me know if it helps. https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/embedded-data/


https://community.qualtrics.com/XMcommunity/discussion/comment/55238#Comment_55238Hi Nikkki, Thanks, this helps a lot!
and if we would like to autocode to a question, not embedded data, Does using JS is the only solution?


WeishiCheung According to my knowledge yes auto coding to a quest requires JS.


https://community.qualtrics.com/XMcommunity/discussion/comment/55240#Comment_55240Got it, Thank you so much!


Hi All,
I am a newbie here.

 

I also started with this point, which would be basic for creating age ranges in the DB.

Please, has anyone here already done this and has the Java Script code for this implementation?

 

Thank you in advance,

Danila.


Hi All,
I am a newbie here.

 

I also started with this point, which would be basic for creating age ranges in the DB.

Please, has anyone here already done this and has the Java Script code for this implementation?

 

Thank you in advance,

Danila.

Hi Danila,

 

Can you please be specific on what you need?

 

Bharath.

 


Hi Bharath,

 

Would be on the topic of autocode age into group. 
I have a question that asks the age and then I would like to automatically code the answer into a hidden question called age_group.

 

Thank you in advance,

Danila.

example:
Screenshot 2023-02-09 160842.png


Based on the image, If someone enters below 18 or above 61 they get terminated right. If so, you don't need another question to terminate them. create a condition in the survey flow and terminate them. You can also store the entered number in the survey flow


Leave a Reply