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
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. :)