form for displaying or editing data in a list

learn more… | top users | synonyms

11
votes
3answers
11k views

What is the difference between PreSaveAction() and PreSaveItem() on SharePoint list forms?

I am performing some custom validation on a custom list form using javascript. I had my code in "PreSaveAction()" and it was working. At some point it stopped working and I determined that the code ...
9
votes
4answers
23k views

How do I customize a workflow task form?

I am trying to edit the form that appears when I edit one of my tasks in SharePoint 2010. I currently have a Workflow with an approval process. I believe I can get to the relevent form for my ...
7
votes
3answers
2k views

Data View Web Part and Custom List Form show Attachments

I have found a few ways to add attachments to a Data View Web Part, but I can only get this to work when the SharePoint:AttachmentsField is not being used anywhere else on the page. Currently my ...
7
votes
5answers
9k views

How to display lookup additional field in display form?

I have two lists: Projects and Tasks In the Tasks list, I have created a lookup field titled ProjectID which targets ID filed from the Projects list. Also, I have set for this field to display an ...
6
votes
2answers
226 views

All internal field names in the farm incremented in SharePoint Online… why?

I've built a large number of forms in SharePoint Online that have jQuery functions built around those fields internal names. For some reason this morning the internal name of each and every field in ...
5
votes
3answers
3k views

How do I fetch the attachments from an AttachmentsField control?

In WSS 3.0, I've got an edit form which includes an AttachmentsField control. It corresponds to the list of existing attachments, with delete links. In a normal edit form, if you delete an attachment ...
5
votes
2answers
6k views

SharePoint Lists' EditForm & DispForm

I haven't been able to find any information regarding this, so I hope you guys can help me out on this. Since all lists in SharePoint all have an EditForm.aspx and a DispForm.aspx I am wondering if ...
5
votes
2answers
2k views

Custom form: Attachments are half-broken

I've created a custom edit form, and the attachments functionality is half-broken. When I click the attach button, it takes me to the attach form and I can browse, select a file, and hit OK. That ...
5
votes
1answer
59 views

Content type with custom forms in many site collections

I developed a custom form for a Content Type but it seems that I cannot have the files referenced outside my site collection so I included the file in the site Collection, Let's say know that I have ...
5
votes
2answers
1k 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 ...
5
votes
2answers
3k views

Content Type dropdown in a custom list edit form

I have two content types created A and B. I have a list definition where I placed those content types. Using SPD 2010, I created a custom list edit form and as you know, SPD 2010 will ask you to bind ...
4
votes
1answer
13k views

Get Current User's Department Name and Manager From Active Directory

How the "department name" and "manager" attribute value could be retrieved from active directory programmatically? For ex. i will have custom newform.aspx to create some new item, in the code-behind ...
4
votes
2answers
3k views

Custom Forms without Info Path Forms Services

I have SharePoint Standard which does not come with InfoPath Forms Services. I want to be able to create a simple expenses workflow which gathers info using a form. I've heard though I have a ...
4
votes
2answers
4k views

Is it possible to have a lookup field with multiple source lists?

I have two lists: list A and list B. List A should have a new multiple choice lookup column that allows the user to choose items from both list A and list B. Is this even possible? I have a kind of ...
4
votes
3answers
2k views

How to default a Person FormField in New Form Template?

Without using any addons, has anyone discovered a way to set a default value for a <SharePoint:FormField> where the field is a Person/Group? We'd like to default a field on our newform to the ...
4
votes
1answer
2k views

List Item required field: Change of form element Title attribute?

In my SP Online (2013) site I have some heavily customised list input forms, the input fields of which I have been quite happily referencing using jQuery using the following syntax: $('input[title="...
4
votes
1answer
996 views

How to alter SP2013 workflow task from an ASP task form?

I have created SPD workflow with a custom ASP form. My form opens when clicking on a task link and I can show information about the task. Now I want to alter the task after pressing a button, but can'...
4
votes
1answer
932 views

Insert images from computer into Rich Text Box

I'm using SharePoint 2010. Out of the box forms allow me to imbed images that I can upload from my computer. If I edit the form using InfoPath (something I want to do) I lose this ability. Has ...
4
votes
1answer
4k views

Exception from HRESULT: 0x80131904 - when using Custom List Forms

Can anyone help ? I run into a strange problem. I have a custom List designed in Visual Studio 2010 with Custom Content Type.When I add Item to the list using default forms everything works ok. ...
3
votes
3answers
26k views

Hide/Show field on list form based on value from another field

I need to hide field 'B' when the value in field 'A' is NOT equal to 'Other'. This is a custom list form. Is jquery the way to go?
3
votes
3answers
7k views

Custom Form Does Not Display “Created By” value

I'm creating a custom form in SharePoint designer and I'd like to display the value of the "Created By" field in a section of the form. I've done this successfully with other columns in the form. For ...
3
votes
1answer
276 views

Javascript - Get text from display version of multiline field

I need to get the text from a multi-line field in display mode on a custom form. SharePoint decides to wrap the text in an extra div which is not on the .aspx page which is causing the problem as I ...
3
votes
1answer
2k views

CSR and form templates

I'm trying to build an app that has a list with a custom form. I've looked at client side rendering and all of the documentation I've seen is about specific field overrides. However, the form I want ...
3
votes
1answer
7k views

SharePoint 2013 - Custom save button - Handling click using Javascirpt

We have created a custom list with a cutom edit form using Visual Studio 2013. At the bottom of the page, we need to add a button which will perform custom tasks and submit the form for update. I'm ...
3
votes
1answer
2k views

Cannot Create Custom InfoPath Form on my list

I am trying to add a custom InfoPath form on a list which uses one of my custom content types. However, attempting to do so throws this complaint: "Customizing the form for this content type is not ...
3
votes
5answers
4k views

How to properly add a code-behind custom form template

I am creating a custom form template for a list and this form template uses a lot of controls such as panels and dropdowns. I am using a rendering template in the controltemplates folder and have this ...
3
votes
1answer
27 views

List Using Old Version Of SiteAssets Form

I am using this great method for customising my forms, and it has been working perfectly until today. For some reason whenever I update one of my forms (NewFormExpert.html), it is not updating on ...
3
votes
2answers
344 views

Custom Form of SharePoint-List: Prevent default DataFormWebpart to be added

I'm working on a SharePoint 2013-Solution which deploys a custom list with custom site columns and a custom form. In the list's Schema.xml I added following lines: <Forms> <Form Type="...
3
votes
1answer
201 views

How to use Application Pages for a content type's form

I want to use a custom application page for my workflow task view/edit form, I searched the internet and find it is possible to set url for content type's edit/view form, my code to update task's form ...
3
votes
2answers
7k views

Add custom NewForm.aspx with code behind to existing list

I have an existing sharepoint list generated by the sharepoint UI. I want to add a custom NewForm to this list that uses its own code behind, because I need to do a lot of stuff in the logic. As far ...
3
votes
1answer
4k views

publish infopath listform to sharepoint multiple site's list

I have one site collection that having two subwebs: i.e web1,web2 both webs having one Test custom list.i have open Test list and using Customize Form tab into list setting of Ribbon. than i publish ...
3
votes
2answers
3k views

How do I deploy custom list edit forms in the sandbox?

I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
3
votes
2answers
2k views

Customize “Add New Item” form in a Sharepoint 2013 List to pull parameters from the query string

I would like to customize the add new item form in a sharepoint list to pull a query string parameter and automatically set it as one of the lookup fields in the new item. I have found a perfect ...
3
votes
3answers
6k views

Replacing AllItems.aspx with a custom AllItems.aspx

I'm trying to customize the page that is used to show the content of folders in a certain (dynamically created) list. This page appeared to be AllItems.aspx. To customize the page I decided to replace ...
3
votes
2answers
1k views

Possible to have Infopath form deployed in a feature? SP2010/VS2010

I'm using new VS2010 Sharepoint Project. I can add a site column, content type, list definition without any problem. Is it possible to also have an InfoPath form included in a Feature? I want to be ...
3
votes
2answers
569 views

Getting started with Workflows in SharePoint 2010

I'm a starting sharepoint developer asked to implement the following scenario in sharepoint 2010. We're a bit lost on the best approach to get started.. I'm really struggling to find the best practise ...
3
votes
1answer
48 views

How to know which people picker is which

I'm trying to replace all of the "bad" old-style people pickers on our custom new/edit forms with the new good client-people pickers. With this thread I came up with the idea to use jquery to find ...
3
votes
3answers
2k views

Sharepoint custom list: Hiding and showing column based on drop down dependancy

I'm trying to add javascript to the dispform.aspx page of my form to hide certain columns/fields based on a dropdown menu. When I add the code to the CEWP it simply adds text above the fields; the ...
3
votes
1answer
664 views

Custom form template with external list does not work

I have following .ascx file <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="SharePoint" Namespace="...
3
votes
1answer
1k views

SharePoint 2010: Set a fixed upload location

When using Announcements or Discussion forms it's possible to upload a document when entering data into the body field. (The editing tools are available and when clicking on the insert tab the Upload ...
3
votes
3answers
10k views

Creating Custom Forms for Outlook 2010

I am given a task to create custom forms for Outlook 2010. I need to learn about Adding and Populating Custom Controls like dropdowns. I am a fresher in Sharepoint and the first task i got is as ...
3
votes
0answers
938 views

Multiple Item Form only updates last row

I've created a multiple item form in SharePoint Designer 2007. However when I click save only the last row gets updated. I've simplified this down to just a primary key value and an input field yet ...
3
votes
0answers
544 views

Custom Edit Form for Drop Off Library doesn’t work properly

I have to customize edit form for the Drop Off Library – add some additional fields from external content type Partner, define certain field to be in Display mode ... So, I created a custom edit form ...
3
votes
2answers
2k views

How can I get rid of the ListFormWebPart in a custom form?

I'm pretty new to SP, but I had to bite the bullet and create a custom new form for a custom list schema. I mirrored the field structure with textboxes and such, added some custom javascript, ...
2
votes
4answers
64 views

Hide form fields based on current user's department

I need to create a form which needs to be filled out by multiple departments, but each department should only see the fields relevant to them. For example: HR Name Surname Job Title Department ...
2
votes
4answers
5k views

Single form for multiple lists

Is there any chance to do that? If so, what do you suggest me to do? I have two custom lists that are related to each other, while adding an item to main list, i have to add some parts of it into ...
2
votes
3answers
2k views

Set the JSLink property for all list forms in FeatureActivated

Is it possible to update the SPForm.JSLink property for the forms (Display, New, Edit) of an existing list in the when a feature is activated? I have tried the code below, but it seems that the ...
2
votes
2answers
3k views

Customize newform save button - Save and redirect to another form

What is the best way to add redirect function into the save button on a newform in SharePoint 2013. When the user create a list item, he/she should be redirected to another form. Is it possible to ...
2
votes
6answers
8k views

newform.aspx and People Picker field - set current user as default?

This is for SP2010. Got a list. One of the fields is a "Person or Group" type, with the results limited to members of an SP group. I've created a copy of NewForm.aspx in SharePoint Designer, and am ...
2
votes
2answers
15k views

Editing a custom infopath form published to a library?

I had built an infopath form and published it to a library in sharepoint. Unfotunately, I lost the file on my local machine in the middle of a user profile sync chaos. I tried editing the form in ...