2 Replies Latest reply on Jul 7, 2010 5:13 AM by supersmola

    use field value in xml binding expression

    supersmola

      Hi all.

       

      I'm trying to access dropdownlist selected value from a binding expression.

       

      I have a dropdownlist called rooms which is bound to some XML data. When the selection changes I woud like to access that value in another dropdownlist called members which is also bound to some XML data.

       

      The expression I tried is:

       

      $record.room.[roomname==$form.company.mainform.rooms.rawValue].member[*]

       

      I'm calling this code on the rooms.changed event (alsop tried on rooms.exit event):

       

           members.execCalculate();

       

       

      Aparently $form.company.mainform.rooms.rawValue doesn't return the selected value of the rooms dropdownlist.

       

      Is there a way to get the selected event from a different form and re-calculate binding of the field?

       

      thanx