User entered values to populate a dropdown list.

jamesb7159942

23-08-2015

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.

Accepted Solutions (1)

Accepted Solutions (1)

_Bruce_Robertson

MVP

25-08-2015

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

Answers (1)

Answers (1)

jamesb7159942

26-08-2015

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.