We are using Aspose PDF 10.4 and for the attached PDF, are unable to replace form field values using Aspose.PDF.InteractiveFeatures.Forms namespace. Further investigation revealed that the textboxes inside this form are retrieved with their ReadOnly set to true as shown in the attached screenshot and so setting textboxes’ values seems to throw an exception.
Changing the ReadOnly to true just before assigning values seems to solve the problem but the appearance of the form gets distorted if we do so. Though this is not the approach we want to go with as this will impact other PDF form types as well.
txtField.ReadOnly = false;
Also the field values are only visible when we click on those fields if we go ahead with this approach of replacing values for this PDF.
Kindly suggest a suitable approach for this