Hi Tilson,
For starters, AcroForms and XFA forms (LC Designer) are completely different animals!! While an XFA form is in a PDF 'wrapper' and can be opened in Acrobat/Reader, it cannot be edited in Acrobat. You will see that a lot of normal Acrobat functionality is grayed out when an XFA form is opened.
So your normal "Add/Edit Fields" menu is gone and Acrobat pushes you back to LC Designer.
The funny thing is that the XFA solution of looking at the state of the signature field is an AcroForm function.
This is messy...
A possible workaround is to have a mandatory field, which is hidden. This will prevent submission, but the error message will not be helpful because it will tell the user that not all the fields are complete, but they won't see the hidden one. Let's call the hidden field "signedFlag".
Then in the layoutReady event of the signature field:
var oState = event.target.getField("form1[0].page1[0].SignatureField1[0]").signatureValidate();
if (oState != 0)
{
signedFlag.mandatory = "disabled";
}
else
{
signedFlag.mandatory = "error";
}
Not pretty, but maybe worth a test.
Good luck,
Niall
PS I just read back and it is very close to your original post... 