You would have to change the name of the field in the getField method to match the name of your signature field. In your case, you would want to set the mandatory property, just check the return value.
All I know is they made this impossible a long time ago, like with Acrobat 5 or 6. I recall because I took advantage of it and never discovered a workaround.
The property you're looking for is the "path" property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.411.htmlHere's the documentation for documentFileName: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.389.html
The best you can do is set up a submitForm action and use a mailto type URL. This will prompt the user to attach it to an email using their email client or save it to a file.
I've been assuming that you created the form in LiveCycle Designer. To tell whether it's saved as dynamic or static, open the form in LiveCycle Designer and select: File > Form Properties > Compatibility > Form TypeIt will indicate either "Dynamic XML form" or "Static PDF form". What does it say for...
Are your forms dynamic or static XFA forms? The answer to this question is important. As mentioned several times now, commenting is not possible with dynamic forms.