Is there any code that I can add so I only send an email of XML for the first 7 pages of my document. I need this to happen as I have a button that asks for a password to unlock the rest of the form. The reason to this is because I only want one person to see the first 7 pages and then email it to the person who has the password to view the rest.
As of now the email button sends the complete code and I don't really want that to happen as anyone could then get the XML and just open it up.
Unfortunately, as far as I'm aware, you cannot selectively submit partial data. That being said, you can specify 'No data binding' on those fields that you don't want to be sent, and it won't be included in the xml.
Alternatively, you can how the form submit itself as a pdf, with whatever locking code that you have in place to determine what is visible in the sent form.
Let us know if this helps at all, or if you have any specific questions,