Fills are used to customize question text
based on respondents' specific characteristics. This is done by embedding dictionary items, variables, occurrence labels, or user-defined functions into the text and surrounding them with percent characters (%).
Enter some question text that needs to be customized. For words or phrases that need to be filled, enter a dictionary item or variable with % characters before and after. For example:
Can I speak with %FIRST_NAME% now?
When the entry system comes to this text, it will insert the person's FIRST_NAME value into the question text:
Can I speak with Marjorie now?
Can I speak with Allyson now?
You can customize the question text by inserting an item or group's occurrence labels
into the text. For example:
How much did you spend on %getocclabel% in the last month?
You can insert the return value of a user-defined function
into the question text. The function can return either numeric or string values. For example:
Thinking now about %FIRST_NAME%, what is %SexPronoun% age?
In logic, a user-defined function with no parameters must be declared, as in:
You can insert a line break (newline) into a fill by inserting <br> into the value of the fill variable or function result. For example:
householdMembers = "Bouba<br>Frank<br>Chen";
Which will result in:
Or more realistically: