These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

possible to get currency rate to auto update from web?

wondergurl
Registered: Oct 22 2009
Posts: 3

Hello

I am working on a form that specifies a payment of dues. Unfortunately the dues are in $US and we are in the UK..so a £ equivalent needs to be specified.
I was wondering if it's possible for the £amount to be auto updated from a forex website?

I am a newbie .. so be gentle please :D

Thanks in advance

My Product Information:
Acrobat Pro 8.1.4, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There is a solution to this issue, in fact there are probably several, but they all involve programming. There are currency conversion WebServices, so this is one way to go. But it will only work if the user is in Acrobat Pro/Std or the form has special Rights Enabling. There is also a way in LiveCycle scripting to get the contents of a webpage. So you could parse the values out of the webpage. In don't know if this functionality works in Reader. And webpages tend to change, so unless you have control over it the form may stop working at some point.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

wondergurl
Registered: Oct 22 2009
Posts: 3
Thanks thomp,
will try what I can and let you know :)