Inherit Attachments on web

Hello friends.

One of web form has 2 file upload controls which the users use to attach files. I want to inherit the attachments along with some selected fields in my response form. I have enabled “Formulas inherit values from selected document” form property. I am using @command([compose]) to create a response doc. How can inherit the attachments from the parent document. Any ideas/help is highly appreciated.

How do I inherit the multiple $file which domino generates for each of the attached file.

Help !