Field controls are simple controls on a form or webpart that use a small amount of code to display the two modes of the controls: one for render time, and one for edit time.

learn more… | top users | synonyms

0
votes
0answers
22 views

how to write jquery code for sharepoint formfield control

how to clear the formfield control value on button click using jquery. I have a control called quanity I need to clear the value of quantity on next login or in the next page on button click
0
votes
1answer
14 views

Custom application page form for content type

Is it possible to copypaste SP field controls from default NewDocSet.aspx to a new custom application page? Or I need to recreate all input controlls manually?
0
votes
2answers
44 views

Is it possible to fire a JavaScript function on a SharePoint Control in Application pages?

I am working on SharePoint Application pages. I have a SharePoint DropDownChoiceField control on the aspx page. The requirement is to auto populate this control at the time of page load. Is there a ...
0
votes
2answers
158 views

How to Hide fields on customized DispForm.aspx in SharePoint 2010

I want to hide 2 fields on DispForm.aspx of a custom template. Following are the lines of code written for customizing DispForm.aspx using ListFieldIterator SP control. ...
0
votes
1answer
76 views

Set BooleanField Value

I'm trying to set value for BooleanField on my custom NewForm. If I try to do it from codebehind, visually it doesn't change, but when the item will be saved this field will be empty (neither true nor ...
0
votes
1answer
15 views

Sharepoint 2010 reformatting person/group field data

We have a site where our survey for employee nominations and our nominee field uses the Person/Group field to capture the name. The field already has an automatic option that you click to lookup ...
0
votes
1answer
82 views

How to handle events on SharePoint controls?

I have a custom list in which there is a people picker control and a taxonomy control. I want the taxonomy control to be filled automatically whenever any user is filled in the people control. ...
1
vote
1answer
842 views

Accessing values of another field from the newform.aspx in my custom field control UpdateFieldValueInItem() method

I have a custom Sharepoint 2013 field control where when creating a new item in the list, I need to set the value of the custom field based on the value that was entered in another field. For example ...
2
votes
1answer
195 views

Change Managed Metadata control to a dropdownlist

My client hates the taxonomy picker control in SharePoint and it makes sense for single level termsets to rather have a dropdownlist. Ideally I'd like to use the OOB functionality and if I code ...
0
votes
0answers
40 views

Add or delete rows when a button is clicked in infopath

I have a row with some multiple selection listbox and a dropdown listbox. i need to get a new rows when a button is clicked with that two controls on that new row. How come i achieve this..
0
votes
1answer
185 views

sharepoint 2010 FieldRenderingControl edit mode empty values

I have a list and it has a content type called employee, i would like to render a particular column from the list and its values in a webpart. The column is a multivalue checkbox. It has some values ...
0
votes
2answers
289 views

How to Disabling SharePoint TextField Control Programmatically?

I'm developing a user control containing textfields bound to my list SPListFields and I'm using this user control twice with two different modes ( Edit or New). In my Edit mode I want to disable a ...
3
votes
1answer
47 views

Is there a IsRequired property on web controls

I'm creating a edit view inwhich a user can create a article/document. In this edit view there are some fields that are required, but I can't see where you define that a field is required. For ...
1
vote
0answers
473 views

How to change ControlMode of SharePoint:FormField control on postback (it changes only after the second postback)

I have a control in my ASPX file and a button to do postback: <SharePoint:FormField ID="MyID" runat="server" FieldName="Title" ControlMode="Edit"/> <asp:Button ID="MyButton" runat="server" ...
1
vote
2answers
2k views

Set lookup field value using custom asp.net control on NewForm.aspx

On my custom NewForm.aspx I have got <SharePoint:FormField runat="server" ID="field_Project" ControlMode="New" FieldName="Project" /> Is it possible to replace it with asp net DropDownList ...
2
votes
0answers
177 views

Are Display Form FieldControls used in 2013 Custom Field Types?

When using a Custom Field Type that has a Field Control (provided by FieldRenderingControl), it seems that the Field Control isn't used when rendering data on the Display Form if the SPField.JSLink is ...
1
vote
0answers
159 views

Custom Column, Shared Properties and Document Sets

I have created a custom column with SharePoint and it appears to be working nicely. I have created a document library and added to it a document set content type. This document set has the custom ...
1
vote
1answer
347 views

How to use People Picker and True Rich Text, cross browser

I have a list being deployed as part of a site definition. I need to have a custom web-part with controls that are able to fill in list data. SharePoint doesn't have an out of the box people-picker ...
0
votes
2answers
296 views

Cross Browser Rich Text Editor Control

I may be going crazy over here, but I cannot seem to find a Rich Text/HTML control for SharePoint 2010. I have successfully implemented an InputFormTextBox, but this only shows up in IE. I've tried ...
0
votes
1answer
84 views

Reason for Custom Field not getting displayed while adding new Item

I had a custom field deployed in one of server and now am trying it on my VPC which is exact copy of Server, however I added/deployed solution, checked GAC, dll was there, looked at controltemplate ...
0
votes
1answer
298 views

SharePoint OM wont' read item property

I have a list item with one field Classes which is a multiple choice lookup. I want to implement an ASPX page which contains a ListBox which is filled with values from the Classes field. The following ...
5
votes
2answers
755 views

Why does the FileUpload control get bound to the current list item in a custom list EditForm?

I've written a custom edit form for a list which means I lose certain out of the box capabilities such as Attachments as it was part of the out of the box form. The way I have implemented the form is ...
1
vote
1answer
276 views

Customizing the New Item Form Controls

I need to, for a calendar control of a date field in the new item form, make only the current day and the day after it to be the only selectable dates in that control. Of course, this changes daily or ...
1
vote
3answers
670 views

Custom Infopath form - Dynamically create controls dependent on user entry

I am creating an inventory form on InfoPath 2010 to be used in SharePoint 2010. I need to dynamically generate controls (text boxes) for serial numbers which depends on the number entered into a ...
0
votes
1answer
48 views

Adding choices to NewItemForm

I've got an application that contains a custom list. I'm using the default NewItemForms to create new Items. One filed of the form is a select/combobox. now I want to set the choices of the select ...
-1
votes
1answer
1k views

Maximum limit of characters into rich text box

I am using Sharepoint rich text box control. I would like to know what is the maximum limit of characters that can be entered into rich text box. I am using the sharepoint rich text box control to ...
1
vote
0answers
177 views

SPServices to retrieve the last record of repeated section data inside Sharepoint library

I have a Infopath that contain 2 fields which I put it as a repeating section as shown in the picture below (for the time being - please ignore the error) How do I retrieve the last record of a ...
0
votes
2answers
892 views

Inherit field editor control from SPUserField

I need to implement AutoComplete feature for People Editor in custom field type derived from SPUserField. To do this, I have to customize both render template and field editor control (and other ...
1
vote
1answer
5k views

How to clear / reset a group of fields in a InfoPath form

Suppose a form have 5 sections where each section contain at least 8 or more fields (can be text field, drop-down list field, date picker field, etc) May I know if it is possible to create a 'Clear' ...
5
votes
1answer
916 views

FieldName for Field Controls added to a Page Layout in SharePoint Designer 2010

In SharePoint Designer 2010, when I drag a field from the toolbox onto a page layout the generated field control uses the field ID for the FieldName attribute. <PublishingWebControls:RichHtmlField ...
4
votes
4answers
4k views

Is there an autocomplete textbox built into SharePoint 2010?

I looked around for a bit but couldn't find anything. Is there something like this built in?
3
votes
4answers
5k views

DateTimeField and timezone conversion problem

It seems that the datetime value which is entered into a DateTimeField is always stored as UTC no matter what timezone is configured for the current user. Only the output on the page is displayed in ...
1
vote
1answer
1k views

What could cause DatePicker to render blank iframe?

I'm witnessing a strange behaviour of the DatePicker control which renders on some machines the expected table with '30 boxes' <IFRAME style="Z-INDEX: 101; POSITION: absolute; WIDTH: ...
0
votes
1answer
592 views

Sharepoint.WebControls ToolTips

How can I set a tooltip to field controls in edit mode? For instance when a user edit a article, hovering over TextField (or the title of the field) a tooltip with custom text will show. It would ...
1
vote
3answers
919 views

Problem making fields 'required' when provisioning using XML

I am provisioning a SharePoint site column using the object model and an xml string as follows: using (SPSite site = new SPSite("http://myserver")) { using (SPWeb web = ...
1
vote
1answer
711 views

Custom Field Control with TreeView with EventHandler issues

I have got a Custom Field Control in SP2007 (inheriting BaseFieldControl) with an ASP.NET TreeView control in the ascx. This works fine with checkboxes enabled so Users can select from the tree. But ...