Expand my Community achievements bar.

Button Action if Forms

Avatar

Level 1

I have created a form with a Submit Button.  The action in submit is to email the form.  I have set it up to send as an attachment the entire PDF file.  This works perfectly.  Here is my question:  I have set the visibility to be visible but not print and when printing that works fine.  When the file attaches to an email the buttons are visible on the sent form.  Is there any way to have the buttons not visible on the attached file when sending by email?

2 Replies

Avatar

Level 10

preSubmit event will get triggered just before the form is being submitted.

Why don't you hide this button using JavaScript code before submitting the form?

Nith

Avatar

Level 1

Nith,

Thank you for your response. I can see now that the answer to this is far more advanced than my abilities.

I haven't a clue about Java Script code

Thanks anyhow