After creating a standard for from your example and processing it with Aspose.Pdf I continue to ge get the error message box "Expected as name object." when submitting the form to a URL. I've attached both the original form edited in Adobe Acrobat Pro X and the updated form filled out using the Aspose library.
These are the steps I use for processing the forn:
1. Update the SubmitUrl using the FormEditor class
2. Do a content replace using the PdfContentEditor class
3. Set the Form fields using a Form class.
4. Send it to the browser.
To see the error all you need to do is hit the submit button on the out_not_linearized.pdf, allow the post and the error pops up.
Hi Nixon,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for sharing the template file and details.
I tried to replicate your scenario and perform the
mentioned steps but I am not able to reproduce the issue you have mentioned due
to different data at my end. Please share your sample code, script and also the
URL information you are opening on Submit Button. This will help us replicate
your issue at our end and we will identify the cause soon.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.