Add DropdownList with values

I  added a dropdownlist on a form, I am unable to make reference to the dropdownlist object via name or type in Javascript. And the object doesn't seem to exist when viewing HTML source. I am trying to populate the dropdownlist  with some values when the form is loaded. But I haven't been able to get the object. Can anyone help?
Parents
  • Hi Chris, The idea is to display a list of teams that a logged-in user belongs to. And the list should only contain the Teams a user is part of.  So when adding a part, the user must nominate which the team is the part for. As you can see on related post, where I also had issues setting the value of  a textbox which is bound to the teamId based on the selection from the list. Alternatively I can use the default UI object linked to the team_id property, but how do I filter the Teams Search pop-up window to show only the teams that that user belongs to?
Reply
  • Hi Chris, The idea is to display a list of teams that a logged-in user belongs to. And the list should only contain the Teams a user is part of.  So when adding a part, the user must nominate which the team is the part for. As you can see on related post, where I also had issues setting the value of  a textbox which is bound to the teamId based on the selection from the list. Alternatively I can use the default UI object linked to the team_id property, but how do I filter the Teams Search pop-up window to show only the teams that that user belongs to?
Children
No Data