I have a text field in a pdf document. I want to capture the contents of this field during the onBlur event and pass it to an AJAX call to retrieve information from a database, and then populate other fields based on the returned data. I have searched for days and can not find an example of this done anywhere (a few people asking but no responses).
What I can do.
I can setAction for the onBlur event for the textfield and capture the value.
I can use this value in a switch to populate other fields and other funky stuff
I can write a web-service to return necessary data.
What I need help with
Writing the JS code in the PDF that can communicate with the web-service.