Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
PDF Only?
-
- Site Admin
- Posts: 2782
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 2 times
Re: PDF Only?
FBC-Tim,
Try this in the Javascript section of the Form used by the report.
Steven
Try this in the Javascript section of the Form used by the report.
Code: Select all
function nuLoadThis(){
hideButtons(document.body);
}
function hideButtons(node){
for(var i = 0; i < node.childNodes.length; i++){
hideButtons(node.childNodes[i]);
}
if(node.className == 'actionButton'){
var bTitle = node.value;
if(bTitle == 'Print to Screen' || bTitle == 'Email'){
node.style.visibility = 'hidden';
node.style.width = '0px';
}
}
}