Questions tagged [custom-form]

form for displaying or editing data in a list

Filter by
Sorted by
Tagged with
26
votes
3answers
30k 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 ...
12
votes
5answers
16k 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 ...
11
votes
7answers
69k 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?
11
votes
4answers
30k 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
4answers
19k 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 ...
7
votes
2answers
280 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 ...
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
4answers
5k 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 ...
6
votes
4answers
2k views

Can force the “Title(linked to item with edit menu)” column inside my list view to reference to another URL

I am working on a custom list, and inside the list view i am showing the Title(linked to item with edit menu) column. currently when users click on this column they will be redirected to the item ...
6
votes
1answer
86 views

Content Query Web Part - Change Content Type upon link opening?

[Edited from original post] I'm trying to open the links that come up from my Content Query Web Parts. However, I'm having a problem which I'll now explain: In my list, I have four content types - ...
5
votes
3answers
11k 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 ...
5
votes
1answer
19k 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 ...
5
votes
2answers
5k 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 ...
5
votes
3answers
4k 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
9k 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
2answers
6k 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 ...
5
votes
1answer
84 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
3answers
3k views

Hide/Show columns in Custom List based on dropdown selection

I am trying to hide a column on page load and when a value is selected from a drop-down list, have the hidden dropdown appear. I am able to hide the column but when I choose the value in the drop-down,...
4
votes
2answers
14k views

Change default form in SharePoint Designer

I have custom forms for my list. How to change default display/edit/new forms to those files with "-ifs.aspx" ? Even better, can I do this without using SharePoint Designer? Is it possible to set ...
4
votes
2answers
2k views

Display datepicker on top of the forms's modal dialog

I have a custom item edit form and I have a couple of DateTime properties that has to be filled at the bottom of the form (using datepicker): So when I click the mini calendar icon to choose the date,...
4
votes
2answers
4k 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
1answer
3k 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 ...
4
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 ...
4
votes
3answers
3k 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
178 views

Biometric (fingerprint/hand scan) to approve/sign a Sharepoint form or field

This is a slightly creepy subject, I know. At work we already have a hand-scanner for clocking-in and out, so what the heck! My question is this - is there a fingerprint app (or hand scanning app) ...
4
votes
1answer
3k 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
1k 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
1k 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
5k 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. ...
4
votes
1answer
4k views

Workflow create task with content type - Custom Forms in InfoPath

I know it's possible to customize the forms of workflow tasks but is it possible to have them customized also for "CreateTaskWithContentType" component, not just for "CreateTask"? I had a try of ...
3
votes
4answers
9k 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 ...
3
votes
1answer
4k 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
12k 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
6answers
3k views

Need to have a “Save and Stay” button on Edit Form, no redirect after submit

I have been trying to get this to work, to no avail. I am wanting a button similar to the save button in 2013. This "Save and Stay" button would submit the form with data currently filled out for ...
3
votes
1answer
1k 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

Configure custom forms for New and Edit using CSOM

I want to replace the New and Edit forms for a specific list. I have a SharePoint Add-in which has two forms (one for New and one for Edit) and now I want to make sure that when a user click New or ...
3
votes
1answer
2k views

Change size of newform.aspx when clicking new item

I want to know if there's a way to change the size of newform.aspx, by default it looks narrow, but my design states that I need more space to display my form without having to scroll right or left, ...
3
votes
1answer
107 views

Sharepoint Custom Form : Modify font for description

Good Morning Again; I have built a custom form using SPD 2013 OP with SPD2013. When you enter a description in the custom list settings, the description displays under the input box on the custom ...
3
votes
2answers
3k views

How to create event registration form that sends AUTOMATIC CONFIRMATION EMAIL using SharePoint 2010 anonymous custom list?

I'm trying to develop event registration form using anonymous SharePoint 2010 custom list. Now, I got all the features I want; form fields, submit button that leads to confirmation page, but I want ...
3
votes
1answer
46 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
1k views

Set default values in new controls on custom form

My customer has a requirement that they be able to "edit" existing items by creating new ones with those values. I was considering making a rest call based on the ID in the query string and populating ...
3
votes
2answers
757 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
285 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
9k 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
1answer
63 views

Capturing Data for sync in offline Mode SharePoint Office 365

What if we need to capture data in offline mode on smartphones and tablets? Later this data needs to be synchronized with the SharePoint Online lists and libraries. Usually, users will be an area ...