Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Can't insert values into Editable text fields using VBA

$
0
0

<All you have to do now is to use this knowledge when you access the document data via the JSObject.>

 

I'm sorry for being so dense. I tried creating an xfa object but was unsuccessful.

 

Dim jso as Object, xfaObj as Object

Debug.print jso.dynamicXFAForm 'returned True

jso.exportXFAData ("C:\PDFForms\IDS_XFA.xdp")  'created this XDP file (top part shown here)...

XDP.png

...

Set jso = PDDoc.GetJSObject 'No error

Set xfaObj = jso.xfa 'No error

 

at this point, I couldn't figure out how to access the fields in the form...

 

xfaObj.form.form1("us-ids[0].#pageSet[0].IDSMaster[0].idshead[0].appNumber[0]").rawValue = "ABC" '[threw error "Object doesn't support this property or method".]

 

Can you guide me on how to set the xfa object and then I might be able to figure out the rest?

Than you!


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>