After much ado, I have finally gotten the customized submit by email button to work on several forms. I added to a new form and now I have somehow created an endless loop and I cannot figure out why. What I did:
I added a regular button (not the submit by email button). Under Object/Field I selected Submit. Under Object/Submit, I selected submit as pdf. I need to capture signatures on a form that will be audited down the road.
Then I added scripts. I used java script, run at the client.
Then I added under PreSubmit* the following language: