Questions tagged [newform]

Question related to NewForm

Filter by
Sorted by
Tagged with
5
votes
5answers
655 views

How to hide columns in new and edit form

I want to know how to hide columns in new and edit form. I will place text in that column through workflow. I just want to see that column in Display form. I know that is possible with SP Designer, ...
1
vote
2answers
3k views

design a form in sharepoint designer 2013

What is the current way to create and design a form in SharePoint Designer 2013? I have a list and there is the form for a new item start.aspx#/Lists/Listname/NewForm.aspx. In SharePoint Designer I ...
1
vote
0answers
129 views

Trigger standard new/edit form validation from custom button code behind

I've got a standard new and edit form with one custom button on it. I want to trigger the usual form validation, when the button is clicked and ONLY execute the code behind the button when the form ...
4
votes
2answers
12k views

Get a list Id using javascript?

I'm trying to trigger the NewForm.aspx of a list by clicking on a link. I would like to known how to get a list ID using JavaScript (Or jQuery)? (SP2010) I've already tried : var context = new SP....
0
votes
1answer
28 views

How can I find the link to the new item form for multiple new items?

I have multiple content types in one list, 3 to be exact. This allows us to have 3 different forms for one list. I would like to link text directly to the form for each of these items. I know to ...
2
votes
0answers
46 views

SharePoint 2013: Force the Newform.aspx form to show Content Type choices [duplicate]

Is there a way to be able to have users select Content Type when on Newform.aspx? It currently works when on EditForm.aspx
1
vote
2answers
8k views

How to create a custom new form for a Document Library (to add it in a SP Solution)?

I needed to create custom forms for a SharePoint list and I found these articles (1 and 2) that gives really good explanations to do it step by step. Now I want to do the same for Document Library.
0
votes
2answers
1k views

Title field is hidden in “New Item” form

When I click "New Item", all of my other columns show up. However, my title field (it doesn't matter if it's 'Title', 'Title linked to item', or 'Title linked to item with edit') doesn't show up. I'...
0
votes
1answer
869 views

new form - edit form -display form load very slowly

we have large custom list in sharepoint 2013. these items are around 10000. recently new,edit,display form loaded slowly. forms take a long time to load, about near 2 minutes. forms customized with ...
1
vote
0answers
317 views

Get the Checkbox checked status on submit button click in SP 2010 list form

Am using checkbox multichoice field in my newform.aspx and in presaveaction call am doing the below code: function PreSaveAction() { var dt3; var dt4; ...
0
votes
1answer
658 views

Validating DatetimeFields in SharePoint 2010 List Form PreSaveAction Call

I want to perform a validation for today's date and user entered date in my custom list form's multiple datetime fields ReqstRecvdDate Field DueByDate field ReqstRecvdDate can not be greater than ...
1
vote
1answer
319 views

Iterate through each checkboxes within SPFieldMultiChoice field in SP 2010 List newform.aspx and Validate

I need to iterate through the all the check boxes within my SPFieldMultiChoice and check whether at least any one of the checkboxes are checked and if not checked, I need to return false. I have this ...
1
vote
1answer
1k views

Validate enhanced Rich Text Field on PreSaveAction call on newform in SP 2010 List Form

How to validate Enhanced Rich Text Field on PreSaveAction call in my SP 2010 list form's newform.aspx. I tried with JavaScript but it didn't work. I followed Marc's blog here But the issue is, ...
1
vote
1answer
918 views

Populate a message on Save Button click and redirect in newform.aspx PreSaveAction Call in SP 2010 List Form

I need to populate a message or a display a dialog box when Save Button click triggers within my newform.aspx's PreSaveAction is called and redirect to allitems.aspx page for viewing the latest ...
1
vote
1answer
155 views

“Unable to display this Web Part” error occured

My colleague's STS site suddenly showed this error when she tried to add New Item. Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint ...
0
votes
1answer
755 views

Document library add new item error The file has been modified by user at time

I have a document library with an associated workflow. The workflow needs to launch when a new item is created. When adding a new item the form opens, I fill in the fields, and click Save. The form ...
2
votes
2answers
2k views

Validation of fields newform.aspx SPServices

I want to validate a few fields of my customnewform.aspx while saving data in SharePoint 2010 using SPServices. Instead of using the existing list validation settings, how to achieve mandatory ...
0
votes
1answer
1k views

Date Validation on PreSaveAction in SharePoint 2010 list newform.aspx

I need to validate few dates in my SP 2010 customnewform.aspx page. I added the content editor web part, added the script but not able to get the result. ReqstDate : Should not be greater than ...
0
votes
5answers
8k views

How to make the custom newform.aspx as the default new form in SharePoint 2010

I have created a custom newform.aspx using the copy of the existing Sharepoint 2010 list form using SP Designer tool.Now i want to make this mynewcustomform.aspx as the default form when the user ...
3
votes
1answer
3k 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, ...
1
vote
1answer
2k views

Pass parameters to URL in SP.UI.ModalDialog

On load of my site I check if a user is 'registered' with the site (I need specific non-SP data about them which is saved in Users list). If not, then I show the NewForm.aspx page for Users list. &...
3
votes
2answers
2k 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 ...
1
vote
0answers
870 views

jQuery not showing custom error messages in PreSaveAction method of sharepoint 2013 list “New Form”

I am validating sharepoint list fields on PreSaveAction method of sharepoint list new form. I have done some customization and have put some labels with error messages under the sharepoint formfields. ...
1
vote
1answer
4k views

Could not save the list changes to the server

I have an External List in SharePoint 2013. I am trying to create a new Edit Form in SharePoint Designer but unfortunately it is throwing Could not save the list changes to the server error instead of ...
0
votes
1answer
39 views

Purpose of NewFormRedirect.aspx

What is the purpose of the NewFormRedirect.aspx page located in [Domain]/[Site]/Custom Pages/ folder? One of our SharePoint users got this page after creating an Item. I tried doing the same and ...
0
votes
2answers
649 views

Change NewFrom using JSLink

I have to customize the NewForm and EditForm using JSLink. Perhaps there is another way of doing this. So what I would like to know are these: How can I make a field required or not depending on ...
0
votes
1answer
195 views

Any workaround to show the People Picker inside the built-in Edit & New forms

I am working on an Issue tracking list inside SP 2013, where I have associate the AssignTo field with a security group. but currently inside the built-in Edit & New forms I cannot select the ...
2
votes
1answer
2k views

inserting captcha in newform SharePoint 2013

I created a new page in SharePoint Designer 2013 and add new item form on that, now how can I add captcha in that form? Any help is appreciated.
2
votes
1answer
2k views

People Picker icon is not showing inside the built-in New & Edit forms, while it is showing inside custom New and edit forms

I have a site column of type People & group inside my SharePoint 2013 team site, now inside the built-in New and Edit forms the site column will not have "People Picker" icon beside (which can ...
0
votes
1answer
384 views

Detect Content Type by Name JS

I have some javascript running behind my NewForm.aspx. I would like to modify a Choice field based on the Content Type being used. I can determine the Content Type by checking the parameter: ...
3
votes
1answer
580 views

Custom NewForm & EditForm for Lists in app web of SharePoint-hosted apps

My goal is to create a custom NewForm and EditForm for an existing SharePoint list in the app web of a sharepoint-hosted app for SharePoint 2013 online using Visual Studio 2013. In addition to a ...
0
votes
1answer
4k views

Set values in Newform with CSR

I have a TestField (Single line of text) that I can return a value to while in NewForm.aspx. The problem being, the TextBox disappears and it only displays the returned text itself. (function () { ...
2
votes
2answers
2k views

How to change required field error message?

I have two required columns in a custom list. When adding an item using OOTB new form, the required field validator shows same error message You can't leave this blank. For both required columns....
1
vote
2answers
757 views

Sharepoint 2010 custom new form column validation

I have a custom list and custom New Form created using Visual Studio. Now I wanted validated a Amount column whether the value is less a value from another List column. I also have Newform.cs file. ...
8
votes
1answer
11k views

JSLink - Is CSR PostRender supposed to fire once per field?

I have been working on a CSR script for the New / Edit / Display forms of a list. I am attempting to use OnPostRender to perform an action after all fields on the form have been rendered (hide a ...
0
votes
4answers
4k views

Conditionally hiding/showing fields on a custom newform using jquery

This is something I have been struggling with for some time now. I have looked all over the internet at different forums and blogs trying to find a solution and I have finally gotten ALMOST there. I ...
0
votes
2answers
228 views

SPF2010: Using a lookup for a default value

I have two lists: one is a list of customers, and one is a list of service calls. The customer list has [Driving Distance], which is the distance from our central office to their office; likewise, ...
2
votes
1answer
3k views

Url to a NewForm with a specific content type

I have a SharePoint 2010 Site collection and I need to know how I would write the URLs to a newform.aspx associated with a SharePoint list when I have two separate content types. Generally (for a ...
2
votes
1answer
111 views

How to make a dropdown field in a NewForm.aspx to point to its parent list

I currently replaced someone in a existing SharePoint project and I'm having trouble understanding the previous person's work. I will try to explain the setup and explain my question after to make ...
2
votes
3answers
2k views

What is Microsoft replacing InfoPath with, in next iteration of SharePoint [closed]

I am aware of Microsoft's intention of discontinuing the InfoPath form in SharePoint. I believe InfoPath with all its draw backs, still managed to cater to the needs of many IT professional in ...
0
votes
1answer
812 views

Passing Parameters On Ribbon Button Click

I have added a button to the ribbon for a specific content type on a list (parent list). This is the only content type on the parent list. When an item in the parent list is selected and then the ...
0
votes
1answer
33 views

SP2013: Adding commas to text fields

There's a lot of threads about getting rid of commas, but I want more commas. On the NewItem and EditItem screens, I have some number and currency textboxes. My users are entering values in the ...
1
vote
1answer
98 views

Custom list form progress indicator

I have a list form that I customized and retrieves its design from HTML page, the thing is it doesn't look nice when the form is viewed until like 2 seconds when everything is loaded, how do I add a ...
0
votes
1answer
1k views

Use Content Type for EditForm.aspx

I have a custom list with 2 content types. The first user to add an item will use ContentType1 so that only necessary fields are shown. The next user comes in and edits that same item, but I want ...
1
vote
0answers
221 views

Calendar - Only display available resources

I have a resource calendar. Is there a way to limit the resources based on the date user picks when they want to reserve a resource. For example, user clicks on 1-26-2015 date and conf room 3, 4, and ...
0
votes
2answers
184 views

Replace NewForm, EditForm with visual web part solutions

I have a visual web part that performs same functions as NewForm.aspx in SharePoint. I can enter data and click save on the visual web part and it saves title field to SharePoint list. Now I would ...
1
vote
1answer
4k views

Different EditForm based on the List View

We are creating an asset list in Sharepoint 2013 site (on-premise). It will be one big list instead of making separate lists for different item types. There will be different views depending on the ...
0
votes
0answers
50 views

From root site, link that creates new item in a specific list / link to newform in a specific list - javascript

I have a teamsite. On the welcome page (root) I want to have a link to newform of a specific list inside the site collection. When I click on the link I want it to redirect me so I can create a new ...
0
votes
2answers
367 views

Change the order of values in content type field in the forms (.aspx)

I have a document library with documents sets. It contains a few content types. And when I upload a document I get the form with the fields, e.g: Content Type: It,HR,Document,CV Title etc The ...
6
votes
2answers
2k views

Autofill People or Group field with user

I have a list in SP2010 and need the user's name to auto-populate in the "Assigned To" People or Group field whenever s/he submits an new item. Thanks!