Nesting tags

We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

Is it possible to use nested tags for invoices, quotes, etc? Right now I’ve got this:

Quote Status: {if:DATE_APPROVED}Accepted on {DATE_APPROVED}{endif:DATE_APPROVED}{if:QUOTE EXPIRED}Expired{endif:QUOTE EXPIRED}{if:QUOTE PENDING}Pending{endif:QUOTE PENDING}

Basically for external view, I’m just wanting the Quote to check if it’s approved or expired and if neither, it will show “pending.” I created two extra fields for QUOTE EXPIRED AND QUOTE PENDING and if either are true, I just fill in the field with “yes.”

I played with using regular PHP if/then formats but they didn’t work nested. Is there a better way to nest this type of tags usage like in PHP? I imagine using tags this way would be beneficial in many ways in UCM.

Thanks for any help.

The forum ‘General Support’ is closed to new topics and replies.

asavingsNesting tags