Expand my Community achievements bar.

SOLVED

User entered values to populate a dropdown list.

Avatar

Level 1

I have created a form with dynamically determined number of rows.  Each row has a dropdown list field that is initially empty.  I want to add the user entry to the list to be used in the field in the rows that follow.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Here's a sample that might help.  https://sites.google.com/site/livecycledesignercookbooks/home/ReferenceNode.pdf?attredirects=0&d=1

This form allows you to add a dropdown item value and id that will then be picked up by dropdown control.  The main problem is having to do a xfs.form.remerge() which can reset some properties that aren't bound to anything,  usually error borders and the like.

Doesn't seem to need a remerge for the new row so may not be a problem.

Regards

Bruce

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

Here's a sample that might help.  https://sites.google.com/site/livecycledesignercookbooks/home/ReferenceNode.pdf?attredirects=0&d=1

This form allows you to add a dropdown item value and id that will then be picked up by dropdown control.  The main problem is having to do a xfs.form.remerge() which can reset some properties that aren't bound to anything,  usually error borders and the like.

Doesn't seem to need a remerge for the new row so may not be a problem.

Regards

Bruce

Avatar

Level 1

Worked perfect.  I put the add button in my Row1.  Remerge the form on the entry of the first row and created an unique "Id" field from the index.  It works just the way I wanted.  Thanks a million.