Recommended Posts

I've built scripts that scrape a command line input and feed it into a webpage, but now I have to go backwards to a degree. I need to take the information that is entered into a form on the web page and then insert it into a pdf form in Acrobat Reader.

I can do the normal stuff, open the file and open the correct form, then have the user save it and print it. Those won't be a problem. The issue is the scraping from IE to AcroReader. I will know the form field names on both sides, so I think this should be relatively simple, but I want to ensure I'm going the right direction.

If I'm right, should it be similar to the _IEFormElementSetValue? (Just with something else which goes into Acrobat Reader?)

Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."