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 [newform]

Question related to NewForm

7
votes
1answer
10k 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 ...
6
votes
2answers
1k 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!
5
votes
5answers
561 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, ...
4
votes
2answers
11k 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....
3
votes
3answers
19k views

Unable to get property 'get_current' of undefined or null reference in JSLink

I have a custom list to which I want to apply the JSLink in NewForm. My code is : (function () { // load jQuery var newscript = document.createElement('script'); newscript.type = '...
3
votes
2answers
18k views

Add attachment button to a custom new form SharePoint 2013

I'm creating a new custom form using SharePoint Designer 2013. I would like to add a attachment button to be able to upload files and images. How can this be done? This is what im adding to my new ...
3
votes
2answers
1k views

New item entry form: how to hide 2 fields with a code in SP designer NewForm.aspx

I need to hide 2 fields from NewForm.aspx (the edit and view can stay the same). I have seen around tutorials on how to do it with Infopath and linking it to the permission of the user and I would ...
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
894 views

Adding JSLink to Newform.aspx

I have a list instance being created from a SharePoint Hosted App. How can change the JSLink reference from within the list definition, schema.xml ? I can change it on a List view like so: <JSLink&...
3
votes
2answers
15k views

Customise newform.aspx and editform.aspx

When it comes to customizing the newform.aspx and editform.aspx for list items, what options are available to do this? I have read some posts which require the use of visual studio to be able to do ...
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
1answer
8k views

How to trigger the click event of the SharePoint OOTB list's new form Save button?

I have custom list in which there are two mandatory fields, and I want to ask the user if he wants to again enter the new item after one item is created. I searched over the internet and found this ...
3
votes
2answers
2k views

Basic Custom List: How to redirect to different page on Cancel and on Save button click in NewForm.aspx?

I have a basic custom list in SharePoint Online where users have to add items, and I want to make sure that: If user clicked Save, then, User sees: Thanks-Page If user clicked Cancel, then, User sees:...
3
votes
1answer
184 views

New Item script does not apply after postback

I have a simple javascript code on a new item page, it limits the number of characters for a multi-line field. After I select someone in the people picker, the form does a quick postback and load, and ...
3
votes
1answer
557 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 ...
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 ...
2
votes
1answer
2k 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
3answers
5k views

How can I generate new ID for new list item (NewForm.aspx)?

I wanted to add a new ID on NewForm.aspx unfortunately that can't be done because a new ID has not actually generated yet. However, I thought maybe there is a way, by getting the current list's last ...
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 ...
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....
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 ...
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

How to apply JSLink to the custom new form of list?

I have created custom new form for list using SharePoint designer, to customize the behavior of OOTB SharePoint. The functionality which I wanted to achieve is complete but I am not seeing the option ...
2
votes
0answers
54 views

Redirect to DisplayForm after Item has been saved using CSR and TypeScript

I have a problem that's really bugging me. I am trying to redirect the user to the DisplayForm once he has created a new ListItem in NewForm. I have two problems: I don't know how to get the ID of ...
2
votes
1answer
81 views

Library upload form Dropdown options order

I have a library to store files (obvious) with column "City" which is a lookup to list with two columns (CityName & Order). How to change ordering of options in dropdown field (which is in ...
2
votes
0answers
45 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
2
votes
1answer
109 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 ...
1
vote
2answers
3k views

Redirect Save on NewForm.aspx Without Custom Form

I need the Save button on a list's NewForm.aspx page to redirect to a "Thank You" page. I need to do this without creating a custom form or a new page (though I'm willing and able to create one for ...
1
vote
1answer
158 views

SP07 Designer - Reset to the default list EditFrom.aspx

I want to reset EditForm.aspx and NewForm.aspx to default for the list, because confused. How to solve this problem ?
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. &...
1
vote
1answer
819 views

Unable to return value of Person or Group field from JSLink

I have a custom list in which I have applied JSLink on Person/Group field in NewForm.aspx, my code works fine to render the field but when I click on submit button, I am returning value. <userId>...
1
vote
1answer
27 views

JavaScript to hide sharepoint fields reruns when form is submitted and required fields are missing

Thank you for taking the time to read my question. I have a simple script in a SharePoint NewForm.aspx which initially hides a field on the form and then displays it if Yes is chosen in response to ...
1
vote
1answer
1k views

How to text wrap headers/questions in NewForm.aspx

Does anyone know of a way in SharePoint 2013 (on premise) to text wrap the column headers/questions in NewForm.aspx. Currently I have long column headers so when you select 'new item' on the list the ...
1
vote
2answers
2k 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
1answer
28 views

Adding an image with anchor tag just above the field in a newform.aspx

I am creating a newform.aspx page for cutsom SPList in SPO site. I want to add an image with dynamic text thats embedded within anchor tag, <tr> or <td>. This image with the dynamic text ...
1
vote
1answer
39 views

Customizing dispForm of creating a “standardview” - SP2013

For every library there is a possibility for users to create their own view on documents (such as metadata filters). Because the "/_layouts/15/ViewNew.aspx" Form is kinda confusing for tons of users ...
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
477 views

Rename the “New Item” text in SPO list New Form to a meaningful Title

in my new form.aspx of my splist of my SPO site, i would like to change the title New Item to "some_meaningfull_name"(like create customer , or create product etc ) , is this possible? since its not ...
1
vote
2answers
995 views

PreSave Action validation for Yes/No Checkbox Column in a list new form

I have a requirement that if the yes/no check box column is checked then user dont need to fill the document name if it is not checked user should fill the document name so for that i using this ...
1
vote
1answer
106 views

Except Approval Fields Hide Users particular fields in NewForm Using InfoPath

Using Infopath, I have two-level Approval status field that only certain users (like managers) can see when approving or rejecting a form. The scenario would be the following: When User add an item ...
1
vote
3answers
428 views

Retrieve User's Work Phone on change of People or Group field in NewItem form using JSLink

I have one SharePoint list in which there are two fields: User (People or Group) Work Phone (Single Line of Text) On default NewItem form of this list, When we add User in User field then that user'...
1
vote
1answer
125 views

Calendar: Different “New item” form link depending on view

In SP2013 is it possible to customize the "create" links for different calendar views of the same list? When I hover over the calendar view cell and the "New item"-Link appears, I would like to ...
1
vote
1answer
704 views

Cascaded Drop down is not working

I am using sharepoint lists New Form I have Added <script type="text/javascript" > $().SPServices.SPCascadeDropdowns({ relationshipList: "Designation", //ChildList Name&...
1
vote
1answer
273 views

Modify the Lookup Column in SharePoint 2013

Hi everyone, in general I do like the lookup column, but I think sometime (especially with over 100 items in the lookup) its not that convenient. In my lookup there are 300 items (title of the items ...
1
vote
2answers
7k 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.
1
vote
1answer
273 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
776 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
3k 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 ...
1
vote
1answer
92 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 ...
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 ...