Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Combo box functionality in Sharepoint

  Asked By: Corey    Date: Jan 25    Category: Sharepoint    Views: 4540

How would I create a dropdown control in SharePoint that has multiple columns?
Similar to a multi-column combo box in Access where the control is bound to the
first column only.

For example, I have a list that has a Code field and a Description field.

What I would like to see is:

123 | Orange
234 | Blue
345 | Green

And, I want to use this list as a drop down for another list and the value would
only hold the Code after a selection is made.

This does not sound like you can do it with out custom coding but if anyone
knows any other way to do it using Sharepoint designer or some other way, I
would liek to hear.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Christina Lewis     Answered On: Jan 25

Can you create  a calculated field  that concatenates the two together with
the pipe character and then bind your dropdown  list to that?

If not, then I believe you're going to need either (a) a custom control, or
(b) some fancy JavaScript and HTML.

For the former, I know that some folks are using EasyListBox (
http://easylistbox.com/demoColumns.aspx ,
http://easylistbox.com/demoRelated.aspx ) in their SharePoint environment...

For the latter, you'll need to bind a grid or something and then make it
appear/disappear when you click your list-head-thingy.

 
Answer #2    Answered By: Meaghan Webster     Answered On: Jan 25

The following link is very much use full for cascading dropdown.

http://spservices.codeplex.com/wikipage?title=$().SPServices.SPCascadeDr
opdowns&referringTitle=Documentation

www.sharepointdrive.com/.../Post.aspx?ID=8

datacogs.com/datablogs/archive/2007/08/26/641.aspx

 
Didn't find what you were looking for? Find more on Combo box functionality in Sharepoint Or get search suggestion and latest updates.




Tagged: