RootFormField

RootFormField

Forum member · Mar 13, 2007
Hi. I am merging the document with RootFormField tag. I need to place a Label on the Form Field position so when i execute the below code Dim MyPage As Page = _MyDocument.Pages(PdfDoc1.Form.Fields("T1.Name").GetOriginalPageNumber() - 1) Its giving 'Object reference not set to an instance of an object' Error. -Sridharan

Re: RootFormField

Support · Mar 13, 2007
Hello Sridharan, The error you are getting is most probably because of using a wrong form field name when accessing the form field. Make sure that you are using a correct name after adding the root name to the form fields. You can see the form field names by using your PDF as a template in the FormFieldReader example. If you are getting this error after using the correct form field name then please send over the PDF document and the code you are using to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at it. Thanks, ceTe Software Support Team.