When you assign the button to your page, you point...
# suitescript
a
When you assign the button to your page, you point to the function in the client script which is to execute on the click: yourFormObject.addButton({ id : 'printreportbutton', label : 'Print Report', functionName : 'validateFormSelections' });