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

Changing presence to hidden before emailing


Level 3

I have created a form in Designer that will be filled out and then emailed as a PDF (locked).  The form includes several checkboxes.  I was able to write a script that changed the presence of unchecked objects to "hidden" on the preprint event, but I am unable to accomplish this same task on the presubmit event.  I am trying to clean up the form by eliminating any irrelevant information before it is submitted.  Any suggestions?  Thanks much (go easy on me, I'm relatively new 🙂

2 Replies


Level 10

A quick and dirty...add a second button that calls the email or print buttons.

// form1.page1.subform1.clickEmailBtn::click - (JavaScript, client)

form1.page1.subform1.cb1.presence = "hidden";




Level 3

Thank you Mr. Walker.  I was hoping to accomplish this without adding another button.  The script works really well in preprint; when I hit "print" all the irrelevant information disappears.  I was hoping to use a similar script in presubmit, but it doesn't seem to work.