A field which gives the user a choice of two or more options, in the form of radio buttons or check boxes.

learn more… | top users | synonyms

1
vote
2answers
980 views

Add value to Choice field through ClientContext API

I'd like to add and select values to a choice field in a document library. Something obviously more tricky than I remembered. I'm doing something like this but it doesn't work. The value gets added ...
1
vote
2answers
6k views

Dependency between 2 choice columns

I'm using SharePoint 2007. I created a custom list. In the list I create 2 choice fields (column A, column B). I want to implement this scenario: If the user chooses the first choice from column A, ...
2
votes
1answer
1k views

Add choice to SPFieldChoice from an Eventreceiver in sandboxed

I am trying to make a sandboxed solution that adds a couple of itemeventreceivers to a list, that add the items to the choices of a choicefield. The result would be something like a lookup field, ...
0
votes
1answer
3k views

How can I display checkbox or radio button choices in a Choice field vertically?

I have a list with SharePoint 2007 with a Choice column that I'd like the choices to be displayed vertically (every 2 or 3) instead of horizontally. Is there some JavaScript/jQuery I can utilize to ...
3
votes
3answers
473 views

The CHOICE element contains the value within its body. What gives?

As stated on MSDN, the CHOICE element contains the value within its body. That means that in a field, if I have: <CHOICES> <CHOICE>foo</CHOICE> ...
8
votes
4answers
5k views

SPFieldChoice mappings

I found that the SPFieldChoice has mappings <Field ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Type="Choice" Name="Status" DisplayName="$Resources:core,Tasks_Status;" ...
0
votes
2answers
543 views

Sharepoint 2010 - Related fields in dropdowns. How to?

In my UI I have a dropdown which contains some values: A, B, C. There is also another dropdown in the page whose values depend on the selected value in the first combo. If I select A in the first ...
6
votes
1answer
3k views

Choice field changed - How to propagate the change down to all lists that used it?

I have a feature (Web scoped) with a content type which contains a field (Type="Choice"). Values were A, B and C. I've created a list based on this content type and added some elements in it. I ...
10
votes
3answers
2k views

Purpose of the <MAPPINGS> CAML element in a custom Choice Field definition

I have yet to find a clear answer to this topic, so I'm writting this question in hope that someone can explain me the correct way to archieve my goal. I must also add that all my test was done on ...
2
votes
3answers
3k views

Cannot change value in a choice column for some documents

In a hosted WSS 3.0 environment I have a standard document library with some extra columns. For some reason I cannot change the value in a choice column (called: "Status"). The value always is reset ...
8
votes
4answers
15k views

How to Add Blank to choice field?

I added a choice field "IsMainframe". Business unit only want Blank and Yes. How do I incorporate blank in a choice field?
0
votes
2answers
1k views

Dynamic Choice Lists in Forms

What is the best way to accommodate dynamic dropdown lists for New & Edit Forms? Example: User chooses an option in dropdown 1, which then triggers specific values in dropdown 2. Surely I ...
4
votes
3answers
4k views

How can I filter based on Choice fields when using ListData.svc in SharePoint 2010?

I have a list that I'm trying to query using ListData.svc. I am trying to pull back records within a date range and with a particular value from a Choice field checked. If I use Lists.asmx, I can ...
2
votes
1answer
974 views

How do I set dynamic values for an SPFieldChoice?

I want to add choices programmatically to an SPFieldChoice so that its select box has values with Current Year - 5 to Current Year + 5. What is the best way to do this? Ex: 2005 2006 2007 ... ...