open a new text box once the previous one is completed | XM Community
Skip to main content

Hi, 

 

I'm looking to implement several fields for a spontaneous awareness question.

My idea is to have a first field as they open the question. Once they are typing into the first field, I would like another field to appear, and so on until maybe 10. I tried to enter a Javascript code but didn't seem to work.

Could soneone provide me with a Javascript to do it? 

Thank you very much

Hello Ines, You won’t require JS to achieve that. You can create 10 text entry questions with appropriate in-page display logic applied to every question except 1st question. below are some examples - 

for 2nd question : if question 1 is not empty 

for 3rd question : if question 2 is not empty 

and so on.


Hello Ines, You won’t require JS to achieve that. You can create 10 text entry questions with appropriate in-page display logic applied to every question except 1st question. below are some examples - 

for 2nd question : if question 1 is not empty 

for 3rd question : if question 2 is not empty 

and so on.

I did it before, can confirm that it worked but on seperated page. Can you be more specific on the in-page logic?


while configuring the display logic, make sure the “in-page” option below is checked. 

 

 

for more info on in-page display logic, please click here.


while configuring the display logic, make sure the “in-page” option below is checked. 

 

 

for more info on in-page display logic, please click here.

I’ve seen that before but this part discourage me of trying the in-page option
 

Seem like this support page need an update


Please mark my comment as an answer if it helped. :)


Leave a Reply