Good Morning
i have a big issue and none as an answer:
I did a form in acrobat and i need to make the buttons "mail, print, and reset" disappear when the user sent the file by email, just for a better looking of the email itself,
when print it's quite simple it's already done in properties "hidden but printable " visible but doesn't print, so i have a text field that appears when it prints and covers the buttons, what i need is the same options when sending the file via email.
i tried different javascript but i'm not able to do it. help help help
tanxs
// Set the buttons to hidden
getField("print").display = display.hidden;
getField("reset").display = display.hidden;
event.target.display = display.hidden;
That last line hides the button that the script is attached to, presumably the Mail button. This will present a problem though if the operation fails for some reason, as the buttons will then be hidden and won't get displayed unless you provide some means to re-display them if needed.