1
0
-1

Hi there,

I am working on a form that includes multiple transactions from the dropdown box wrapped in a repeating block. However, the delivery codes can be different depending on the account selected. For example, customer can pay for a taxi service and bus service in one form. The emails will go to the taxi and bus generic email inboxes.

My question - is it possible to split the content in the repeating block so that the PDF receipt goes to different emails only see the relevant content?

Thanks

Sindy

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Sindy,

      This is possible but would most likely require some more complex Groovy code using the iText library. My suggestion instead would be to generate unique emails using String Templates (Velocity). If you require PDFs to be included you could potentially generate PDFs using iText.\

      Regards,

      Jye

        CommentAdd your comment...