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

Help a Noobie Out

omnibar
Registered: Apr 20 2011
Posts: 1

Hey there, I'm designing a form and I need some help with the scripting for this scenario:
 
The user will enter a value for A (1 or 2) and a value for B (numeric).
 
If A = 1, I want B to populate field C.
If A = 2, I want B to populate field D.
 
It seems simple, but I have not done any coding in years! Any help is appreciated.
 
Thank you.

My Product Information:
LiveCycle Designer, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi omnibar,

The Learning Center here (top main menu item on this page) has a wealth of scripting tutorials and sample files. One on conditional script statements in particular should be useful-
http://acrobatusers.com/tutorials/conditional-execution


Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com