PDA

View Full Version : 【Question】 simple java script form operation


pablohassan
January 19th, 2009, 06:44 AM
Hello

I have a simple thing to do, and I just found its very hard for me to find any help, especially if you are searching for any topics related to foxit+javascript.

Here is my situation:

I have a pdf with two fields named field1 and field2.
I need something which will put value to the field2 as soon as I will type something into field1 and leave it pressing [TAB]:

for example: if field1="Y" then field2=5

Can someone provide my step by step guide?

I hope its a simple question so guide will be only few steps.

Thanks

Pablo

christina
January 19th, 2009, 09:56 PM
I send you a demo form, have a look.

Any question, please let me know.

pablohassan
January 21st, 2009, 01:45 AM
Thanks, it was very useful...