I have 2 fields in my PDF form that I need to link.
The field "ShirtType" is a drop down with 4 entries:
1) Short Sleeve Tee Shirt
2) Long Sleeve Tee Shirt
3) Crew Neck Sweat Shirt
4) Hooded Sweat Shirt
Based on the selection, the field "CostPerParticipant" should be filled in as follows:
If "ShirtType" = Short Sleeve Tee Shirt then "CostPerParticipant" = 100;
If "ShirtType" = Long Sleeve Tee Shirt then "CostPerParticipant" = 105;
If "ShirtType" = Crew Neck Sweat Shirt then "CostPerParticipant" = 110;
If "ShirtType" = Hooded Sweat Shirt then "CostPerParticipant" = 115
I have tried If-ElseIf statements and Case statements but am having no luck. Any help would be appreciated.
In JS you just have if/else and switch. Have a look here: http://w3schools.com/js/js_if_else.asp and here http://w3schools.com/js/js_switch.asp
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com