Avatar

Level 1

Hi,

I have a dynamic form which have two subforms with instanceManagers. One is called options, and other is description. Subform "options" has a button which adds an instance to both InstanceManagers "_options" and "_description".

I click the button two times so i have three instances of each. Each "_options" instance has a field OPTION, and each "_description" instance has a field DESCRIPTION. I would like to write a code which will automatically set the text value of  OPTION to text value of DESCRIPTION.

example:

- options

     -OPTION (input text field)

- descriptions

     -DESCRIPTION

click

click

- options

     -OPTION(1)(input text field)

     -OPTION(2)(input text field)

     -OPTION(3)(input text field)

- description

     -DESCRIPTION(1)(input text field)

     -DESCRIPTION(2)(input text field)

     -DESCRIPTION(3)(input text field)

filling out the option fields

- options

     -OPTION(1)(rawValue: Soup is good)

     -OPTION(2)(rawValue: Soup really sux)

     -OPTION(3)(rawValue: Soup is ok)

and here's my problem - how do i get these values to the other instanceManager? I have a code which doesn't work but i don't want to suggest you anything. Please, help me out, i'm fighting with this instance reference bs for some time now