Pre-defined variables

<< Click to Display Table of Contents >>

Navigation:  General Functions > Configuring the MIE (Programmer's Guide) > Portal Design > Request Portal Design (Programmer's Guide) > Template Construction > QAAREA<n> >

Pre-defined variables

Before the {%QAAREA<n>%} tag is inserted at its corresponding placeholder tag, any general and/or merge tags are expanded.  During that expansion, the following pre-defined variables are available to be used as general tags:

 

In the HEADER and FOOTER areas:

[%V1%] - Line item description (from Shopping Cart)

[%V2%] = current total cost (sum of all Total line item costs)

[%V3%] = current total adjustment cost (sum of all adjustments for this Shopping Cart item)

[%V4%] = current Shopping Cart item (starting at 1)

[%V5%] = Total items in Shopping Cart

[%V6%] = Total question count

[%V7%] = Base price of this Shopping Cart item (before adjustments)

[%V8%] = Total cost of entire order (after adjustments, all items in Shopping Cart)

 

In the REPEAT area:

[%V1%] - Question or caption (if question is not defined)

[%V2%] - Current answer

[%V3%] - Price change (adjustment, if any)

[%V4%] - (not defined)

[%V5%] - array index (of item in Shopping Cart, starting at 1)

[%V6%] - Total items in Shopping Cart

[%V7%] - (not defined)

[%V8%] - (not defined)