Conditional Masking on Ticket Designs

Hello everyone,

I'm at work on revising the ticket design document and I'm in need of some conditional masking examples.  If you are using conditional masking, would you share what you are doing and how you are doing it (i.e. what code you entered in to the Mask field)?

Many thanks,
Kevin

Parents
  • Hey Kevin,

    I didn't come up with the code personally but thought I would share.

    We needed a flag or acronym on our design that let the Box Office know when a ticket had been Donated for Resale and sold again. The Resold Flag element under Data Group: Order did just that, but we didn't like that it returned "Donated Seat" on the ticket. It would have confused the next patron that bought the seat.

    So IT came up with the case(val when 'Donated Seat' then 'DFR' else val) mask which returns "DFR" on the ticket. The Box Office knows what it means, and the patron will be none the wiser.

    Not sure if that was what you were looking for, but I hope it helps! It did for us!

Reply
  • Hey Kevin,

    I didn't come up with the code personally but thought I would share.

    We needed a flag or acronym on our design that let the Box Office know when a ticket had been Donated for Resale and sold again. The Resold Flag element under Data Group: Order did just that, but we didn't like that it returned "Donated Seat" on the ticket. It would have confused the next patron that bought the seat.

    So IT came up with the case(val when 'Donated Seat' then 'DFR' else val) mask which returns "DFR" on the ticket. The Box Office knows what it means, and the patron will be none the wiser.

    Not sure if that was what you were looking for, but I hope it helps! It did for us!

Children
No Data