Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Adding Drop Down List values from table fields

Avatar

Level 1

Hi all,


Recently we have switched from Microsoft's Infopath to Adobe's LiveCycle Designer.  In InfoPath i was able to allow a user to enter data in a table and then use that data as values for a drop downlist, which could in turn be used in another table.  Infopath made it relatively easy to do this, but I assume it requires scripting in LiveCycle.  Here is an example that make make it easier to to explain:


Let's say we have a form with a table that has a colomn where the user can enter a value in a table let's say "Computer Name":

Computer Name | IP | Vendor | Serial Number|

-------------------------------------------------------------

PC 1

---------------------| 192.168.2.34| HP | US4839494

PC 2

----------------------

PC 3

----------------------

PC 4

---------------------

Further down the form there is a nother table with a drop down list.  I want the values of the drop down list to be what ever values were entered for "Computer Name" in the previous table.  So in this case the table would look like this:

Computer Name | Acquisition Date| End of Life Date

----------------------------------------------------------------------

<Drop DownList>|  07/21/2010 | 07/21/2014

The drop downlist values would be "PC1, PC2, PC3, PC4"  or whatever values were entered in the previous table.  Essentially, I am trying to avoid from having users type in "Computer Name" data every time the "Computer Name" needs to be entered.  It would be so much easier to enter all "Computer Name" values and then use those values as part of a drop down list to avoid excessive typing.

I hope this makes sense, it is fairly easy to do in InfoPath and I am sure there is a way to do this in LiveCycle.

Let me know if my explanation is not clear enough.


Thanks!

5 Replies

Avatar

Level 6

I think global binding may work for you.  Name the fields the same.

For instance: IP1

Text fields name IP1 can appear any where on your form and what ever is entered in one, will appear in all others.

Click on your field.  Look at the Object pallette.  Click the binding tab.

Where it says Default binding, click the arrow to set as global

Avatar

Level 1

Thanks for the feedback, but it doesn't seem to quite accomplish what I am trying to do. I've tried using global binding as you specified, but the outcome is not exactly what I want.  Perhaps this drawing can help depict what I am trying to do:

http://imageshack.us/photo/my-images/153/dropdownlist.png/

On the picture I manually defined the values for the drop down list.  Again, I want these values to be taken from "Computer Name" in the table above.


Thanks!

Avatar

Level 6

You want a user's entry in a table to populate the drop list. I don't believe that is possilble.

Droplist values have to be specified.

Avatar

Level 1

Thanks for the reply.  I am hoping there is some way to do this.  It is very easy to do this in InfoPath without scripting, there has to be a way to do it in LiveCycle.


Thanks

Avatar

Level 6

Are you using Acrobat or just LiveCycle.

I have a  fairly complex acrobat sample that may be helpful.