Loop through List and send attachments

I have a table of materials, each having fields named Attachment 1, Attachment 2 and Attachment 3. The fields point to the location of PDF files with information about the materials.

I would like to create an ENUMLIST field in my order form that allows the user to select a range of products. Then I want to send Attachments 1-3, if they exist, for the chosen items. I know how to create a Behaviour that will send an email when the value of my ENUMLIST field changes, but how would I get it to effectively loop through my list of products in the ENUMLIST, find the attachments, and attach them all to a single email?

0 10 781
10 REPLIES 10
Top Labels in this Space