Solved

How to populate a picklist with a Team of Users?

Posted on 2008-10-08
2
488 Views
Last Modified: 2008-10-13
Hi Folks

I need to know how to populate a picklist on a form with a 'Team' of 'Users' that I have set up. Specifically I'm looking for JavaScript code to go into the OnLoad event of the form.

Thanks.
Shane
0
Comment
Question by:abaines
2 Comments
 
LVL 8

Accepted Solution

by:
rweil earned 125 total points
Comment Utility
Where you want the pick list to go place "<div id=teamlist > </dev>

in the OnLoad event build the html to display the picklist. See below for basic outline. (I have not compiled/tested this code)

Then use innerHTML to insert new list

picklist = "<select name='xyz'><option value='noOne'>Select team member</option>";
 

loop over menbers

  picklist = picklist + "<option value='" + newname + "' >" + newnamw + "</option>";
 

finish with

picklist = picklist + </select>;

document.getElementById("teamlist").innerHTML = picklist;

Open in new window

0
 

Author Comment

by:abaines
Comment Utility
Thanks rweil.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now