How to set up a fill in the blank sentence structure | Experience Community
Skip to main content
Question

How to set up a fill in the blank sentence structure

  • Mar 21, 2022 10:45 PM UTC
  • 6 replies
  • 1257 views

Hello,

I am trying to set up a study that has two conditions, in which individuals describe their partner in either unconditional or conditional terms (my partner is _____, vs. my partner is ____, when____). I would like to set up these sentence structures such that participants can freely write in the blank spaces within each sentence. If anybody knows how to set this up, please let me know, it would be greatly appreciated. Thank you!

6 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Mar 22, 2022 11:37 AM UTC

If you are interested, I have a JS function that does this. Information is here. The same thread also contains a demo.


Forum|alt.badge.img+2
  • Level 2 ●●
  • Sep 18, 2026 4:24 PM UTC

If you are interested, I have a JS function that does this. Information is here. The same thread also contains a demo.

​@TomG That link now goes to something else. Do you still have the source page with the info?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Sep 18, 2026 6:14 PM UTC

​@Regan - 

Here is the link. Don’t know how it got changed:

https://qualtricswiki.tgibbons.com/doku.php?id=madlibs

 


Forum|alt.badge.img+2
  • Level 2 ●●
  • Sep 18, 2026 6:37 PM UTC

​@Regan - 

Here is the link. Don’t know how it got changed:

https://qualtricswiki.tgibbons.com/doku.php?id=madlibs

 

Thank you! 

I added the JS to the question itself (the only one on the page) and have the question type set to Single Line Text Entry. However, this results in two separate text fields as shown below.

When I set the question type to Text/Graphic it looks correct, but I’m not sure that set-up will work right.

 


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Sep 18, 2026 6:38 PM UTC

​@Regan,

You would need to get the actual function code from me.


Forum|alt.badge.img+2
  • Level 2 ●●
  • Sep 18, 2026 6:46 PM UTC

​@Regan,

You would need to get the actual function code from me.

Ah ok, that is what this refers to above the set-up instructions?