Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Help me stop form users from saving/printing before required fields are completed.

Avatar

Former Community Member

I have created 20 forms with many required fields in each form. These are order forms that need to have all required fields filled in before a user can print or save the file. Currently, the Print Form button that is a standard component in the software allows users to save and/or print before they have filled in all required fields. I see that I should start with a regular button and write a code, but I'm not good with the code writing and I need to wrap this project up for my client. Can anyone offer a solution?

3 Replies

Avatar

Level 2

I 've found this useful article (above all because there is no need of a print button):

http://forms.stefcameron.com/2008/04/13/prevent-printing-pdf-forms-in-acrobat-8/

Giuseppe

Avatar

Level 7

As noted you can use the pre-print and pre-save feature to alert a user about an incomplete form. You can also have a hidden form field become visible indicating the form is incomplete or use a watermak.

You can not prevent the print or save action, but can mark the form before printing or saving.

Avatar

Former Community Member

Thank you both for responding. We will see if we can incorporate your suggestions and make these things more fool-proof for our client's needs.