I copied his code to create a similar form
The form is posted hereClick here to get the pdf
This form submits the whole pdf as email attachment.
If you are using Acrobat 8.x and above you will have no problem is testing the form out
But if you are using Reader to test the form, it will not work unless you Apply Reader Rights
The instruction to apply Reader rights are here