To reference a crosslist element's parent ID from a listcall such as optsfrom
/rowsfrom
/colsfrom
/cardsfrom
, use iterators which name the origin list.
Syntax
Prefix the origin list name to the id iterator, separated by an underscore.
[listname_id]
Example
If two variables are used to create a crosslist, the variable names are required to access the IDs downstream, not the list names. For example, suppose the variables QL1BRANDS and QL1PRODUCTS in the crosslist below used previously defined setlists for their options. The crosslist parent ID reference in the rowsfrom condition must use QL1BRANDS_id and QL1PRODUCTS_id, not those original lists.
setlist: BRANDS_PRODUCTS crosslists: QL1BRANDS,QL1PRODUCTS crosslistidseparator: starttable: L1 intro: Please tell us a bit more about your purchases of a home / personal audio product(s) from the last 3 years. If the product involved multiple components (e.g., home theater), please share the total price you paid. rowsfrom: BRANDS_PRODUCTS {if anyChecked($QS14R[QL1BRANDS_id],[QL1PRODUCTS_id])} ...
Comments
0 comments
Please sign in to leave a comment.