2 Webcombos with the same Table, how to synchronize the selection ?

1 reply. Last post: April 17, 2013 3:53 AM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Eray GeveciMember

Hello i have 2 Webcombos whic are accessing to a table which look like this:

Name:             Email:

Eray                 eray@solution.com

Sebastian         sebastian@solution.com

 

the first Webcombo shows me all the names, the second Webcombo shows me all the Email Adresses.

I want to select the Name in the first Webcombo and it should automatically select its email adress in the second webcombo.

how can i do that?

i tried this but it doesn't work:

        function VeranstalterCombo_OnAfterItemSelected() {
            var VeranstalterCombo = ISGetObject("VeranstalterCombo");
            var VeranstalterEmailCombo = ISGetObject("VeranstalterEmailCombo");
            
            VeranstalterEmailCombo.SetSelectedIndex(VeranstalterCombo.SelectedIndex);
            
            return true;
        }
All times are GMT -5. The time now is 10:23 PM.
Previous Next