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

A simple display (populate) field for beginner

StephOttawa
Registered: Aug 6 2008
Posts: 8

OK, I'm a beginner, I went throught those links already.

https://admin.adobe.acrobat.com/_a200985228/p87746471/

http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/

They are useful I did learn a lot, but still a bit pretty advance for me and what I'd like to do.
--------------------------------------------------------------------------------
Anyways here what I would like to do:

Top of my page, I have a drop down menu of cities:
Edmonton, Montreal, Vancouver.

If the user selects Montreal as example, it shows,
on the buttom of my page the fax number of the Montreal office.
--------------------------------------------------------------------------------
that's it, only that, a simple pick and display.

Those subforms, XFA and all are quite a challenge for someone auto teaching (learning) this powerful but loveable software.

cheers

My contract ends in Oct2008, let me know if you have a hinth or else for me.

My Product Information:
LiveCycle Designer, Windows
dk3dknight
Registered: Jan 22 2008
Posts: 136
Well I can tell you how to do it with 3 radio buttons and a text field, with each location being a radio button.

Create 3 radio buttons and make sure they are part of a group if they are not select them all and right click and select wrap in new radio button group.

Create a Text Field called TextField1

Under the value tab for TextField1 under type select calculated read only.

Select the first radio button and on the code interface under show select Click, this selects a click event, or a event that activates when you click that item.

Paste this in...

TextField1 = "Texas Fax 574-356-7897"

Select the next radio button ensure for your code that show is selecting click.

TextField1 = "Arizona Fax 997-665-7979"

...Same thing for the next radio button.

TextField1 = "Britian Fax +1 001 664 7979 4897"

Hope you enjoy..

I forgot how the subitems work in a list box, but maybe that might at least give you something to play with. :)
StephOttawa
Registered: Aug 6 2008
Posts: 8
hummmm...
I did everything you said, (triple checked) and I also saved in in dynamic 7, change the language to JavaScript, also in the form properties..just in case..
what you gave me did not work..( I wish it would that could put me on the right path), but right now I'm missing something..that is for sure.
If you want I can email it to you, or you can email me your at: Ducati [at] canada [dot] comand what I'm asking I know ...(well, I think at the very least)..it is simple.

thanks
Steph

My contract ends in Oct2008, let me know if you have a hinth or else for me.