Hi workflowuser,
The script worked for buttons in the master page in form1::docReady - (JavaScript, client).
To hide the buttons in the form body i used the earlier suggestion to check the xfa.host.name for "Acrobat" in form1::initialize - (JavaScript, client).
Lesson learned - I tried to hide bo...