Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

NewbieNick
NewbieNick
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
5

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by NewbieNick
Customize the badges you want to showcase on your profile
Re: How to drive the content of a table cell or text field from a dropdown selection? - Adobe LiveCycle 20-07-2010
Thanks,I reverted back to the switch statement and, with a little debugging, managed to get it working. It (with dummy content) looks something like this:switch (this.rawValue){case "1":Page1.TextField1.rawValue = "ABC";Page2.TextField2.rawValue = "DEF";break;case "3": Page1.TextField1.rawValue = "123"; Page2.TextField2.rawValue = "456"; break;}You'll see that I skipped case 2. I want case 2 to drive the same results as case 1. Is there a shortcut for doing this like case "1 or 2", or case "1;2"...

Views

212

Likes

0

Replies

0
Re: How to drive the content of a table cell or text field from a dropdown selection? - Adobe LiveCycle 20-07-2010
Hi Niall,This, again, is very helpful.In fact, though, each object needs to display a different value. Building on my original example, if the dropdown selection is "winter", textfield1 (on page 1 of the form) would need to read "Coldest month of the year", textfield2 (on page 2 of the form) would need to read "Runs from December to March".Can this be done?Nick

Views

208

Likes

0

Replies

0
Re: How to drive the content of a table cell or text field from a dropdown selection? - Adobe LiveCycle 20-07-2010
Thanks to both of you for the quick replies.Niall's third example is the best fit for my form.I have managed to adapt the script so that it populates multiple fields that are on the same page as the dropdown. How would I modify the script to simultaneously populate text fields on two or three different pages?Thanks!

Views

214

Likes

0

Replies

0
How to drive the content of a table cell or text field from a dropdown selection? - Adobe LiveCycle 19-07-2010
Users will choose an option from a drop-down menu. I want their selection to drive the content of table cells or text fields elsewhere on the form.For example, selecting "winter" from the drop-down will display "The coldest season of the year" in a table cell.Thanks in advance for the help.Nick

Views

1.2K

Likes

0

Replies

9