How can I hide the submit button until the form print button has been pressed