Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [formfield]

The FormField control instantiates a type-specific field control based on the field schema.

0
votes
1answer
98 views

Display or edit field conditionally based on dates (javascript/xslt)

I'm trying to make a condition such that: If date in field is before current date or equals to current date, user can tick the checkbox Otherwise, any fields with dates after the current date will be ...
0
votes
1answer
28 views

Shorten Form Fields

Is there a way to shorten a form field? Here is an example of what I have: These are text fields that will have a maximum of 6 characters in each box. I want to make them smaller so they don't ...
1
vote
1answer
247 views

Changing FormField ControlMode from code-behind causes strange behaviour

I have created a custom form where I add "Mode" parameter to query string based on the type of form I want to display: New/Display/Edit. Based on the mode from query string I set the ControlMode ...
2
votes
3answers
6k views

Set a FormField value in SharePoint

I currently have the following: <td width="400px" valign="top" class="ms-formbody"> <SharePoint:FormField runat="server" id="ff16{$Pos}" ControlMode="New" FieldName="Dept_x0020_Name" ...
1
vote
0answers
279 views

Binding DVDropdownList to Text field

I'm trying to save a selection from a DVDropDownList to a text field but when selecting an option and saving the new item, the textfield remains empty. <SharePoint:DVDropDownList runat="server" ...
0
votes
1answer
136 views

FormField in visual web part not appearing

I have a web part in which I am showing the field values of the List Item. I want user to be able to edit the properties of the list item from web part only. To give the SharePoint like UI I want to ...
1
vote
1answer
594 views

Validate custom form using sharepoint designer 2010

I'm creating a form using sharepoint designer 2010, by inserting New Items forms, and editing as necessary the design. Previously I was using asp:TextBox and validating through asp:...
1
vote
1answer
807 views

How to add input prompts to SharePoint 2013 Form Fields

What I'd like to do is add input prompts to text fields on a Sharepoint 2013 form. There's a fairly nice solution here, and it does the mechanics nicely. What it shows for a prompt, however, is the ...