Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Help with SOM

Iakov_Qvaz
Level 4
Level 4

Greetings.

I haven't created these yet and so I don't have a sample form to upload, but could you help me with the code for::

a)  After signature field is signed with Acrobat

          email somebody

b)  Permit emailing and printing only after a REQUIRED fileld has been filled

Which methods do I call to implement the above?  For instance, I know to call event.target.mailDoc( ) for email, but what is the code to send email after a digital signature has been applied?  And how do I permit printing ONLY after a required field is filled?  Thanks.

2 Replies
Srini_Dhulipall
Level 10
Level 10

You can try placing the send mail code in the psotSign event of the Signature field.

For print, you do not have control over the File menu-> Print option of the Acrobat Reader/ Pro. But if you have placed a Print button on the form, then you can allow the print only after all the conditions are met.

Thanks

Srini

Iakov_Qvaz
Level 4
Level 4

Would a Print button over-ride the File - Print menu option automatically  or  do I need to do something more to restrict printing to the Print button only?

Do I need a Save button to control saving, too?

Thank you.