Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Prevent Zip File Attachments

$
0
0

I have an atachment interface on my form that allows the user to click a custom button labeled, "Attach New File". The script opens a browse window and the user is able to select and attach a file they select. I would like to prevent the user from being able to attach .zip files because Acrobat will not open them. How can I test the file they select and not attach it if it is a .zip file? Here's the script:

Capture.JPG


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>