I am using LifeCycle Designer 8.0 and during the past days I have been reading dozens of forum entries, giving tips a try to populate the caption of a regular button with the value of a drop down list. Among many other combinations of various properties I have tried the following scripts in the exit event of the drop down list but none of them works :
a) Button1.caption.value = DropDown1.rawValue
b) Button1.caption.value.text = DropDown1.rawValue
c) Button1.caption.value.#text = DropDown1.rawValue
still no luck with your second suggestion. To keep things simple and avoid any interferences with other objects I created a new file with one only form. On that form I added one drop down list and populated it with three values (1, 2, 3). Then I added one button and copied your code in the exit event of the drop down list. Subsequently, selecting one of the values from the drop down list is unfortunately not updating the caption of the button.
thanks a lot for your additional off-line information. Everything is working fine now. For all others out there facing similar problems, make sure that you save your form as an "Adobe Dynamic XML Form" AND NOT as an "Adobe Static PDF Form": you can set the respective option when saving your file via 'Save as'. Furthermore, make sure that your form is marked as an 'Interactive Form' in the 'preview type' field which you can access via the 'Form Properties' screen.