Sometimes, ACBC users would like to customize their interviews beyond what the standard interface offers. Examples include:
•Showing a different version of the attribute level text in the BYO question than in the Screeners and Choice Tasks sections. For example, for binary on/off features, displaying text to indicate "Not Included" in the BYO section, but leaving that level "blank" for the remaining questions. Or, showing a slightly longer version of the attribute level text in the BYO question than in subsequent sections.
•Changing the Header 1 text for subsequent Screener questions, after the first Screener has been seen.
Example 1: Changing the Attribute Level text for the BYO question
Put the following into an element of the attribute list for Attribute 3 Level 1 (where "widget" represents the name of your ACBC exercise):
[%
begin unverified perl
if(QUESTIONNAME() eq "widgit_BYO")
{
return "Here's the level text to show in the BYO question for Attribute 3 Level 1";
}
else
{
return "Text for Attribute 3 Level 1";
}
end unverified
%]
Example 2: Changing the Header 1 text for subsequent Screener questions, after the first Screener has been seen
Place the following in the Header 1 section of the Screener question (where "widget" represents the name of your ACBC exercise):
[%
begin unverified perl
if(QUESTIONNAME() eq "widgit_Screener1")
{
return "Here are a few widgets you might like.";
}
else
{
return "Here are a few more widgets you might like.";
}
end unverified
%]