Remove upload attachement from attachement category
Hello,
I am using a radio button to choose yes or no:
I have a request that:
if No: I need to upload a front and back of a file (2 files) ==> 2 files will be sent
if Yes: I need to upload only one file (only front) ==> only 1 will be sent
So as you can understand, I have 2 attachement categories: frontX and backX:
- the frontX will be used in both yes or no cases; if yes I will upload a file in frontX and if no I will upload another one.
- the backX will be used only in case no; if I click on yes, it should be reset (to not submit it)
All in all, whenever I click on yes or no, I need to remove what I uploaded in frontX and backX.
my question: how to remove the attachement uploaded when I click on yes or no, So I will not confuse the needed attachement that will be sent.
Thanks a lot in advance for your help!
Hi @AmiraF34: The activity mentioned will delete based on pzinskey of Link and file. In your case if you have the values available in a page, then you can use them. If not, you may need to create a wrapper activity which does following
Please let me know if this helps.
Thanks.