Questions tagged [newform]

Question related to NewForm

Filter by
Sorted by
Tagged with
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 ...
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....
3
votes
2answers
2k 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
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
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 ...
4
votes
2answers
20k 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 ...
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 ...
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 ...
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 ...
3
votes
2answers
16k 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 ...
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
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 ...
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.
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
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 ...
1
vote
1answer
89 views

Save and instantly redirect from NewForm to EditForm, in Online 365. Old solutions does not work for me

Do You have working methods to redirect in SharePoint Online now? I'm trying to save item and then open Edit Form after clicking 'Save'. There were methods to do it before: link 1 link 2 but it ...
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
3answers
71 views

make a field disabled/read-only in SharePoint 2013 new/edit form

I tried to make some fields disabled/readonly in the new/edit form in Sharepoint 2013. I want to use title only. See my code below. Only "textarea" works fine. The others don't work, still editable. ...
0
votes
1answer
180 views

create accordion UI for the SP Online newform.aspx

am trying to create a accordion like UI form for my SPO list newform.aspx by following the below URL : https://spjsblog.com/category/accordion/ but am unable to get anything working! has anyone ...
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 ...
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: ...
0
votes
2answers
588 views

Jquery conditional dropdown validation question

I have multiple Sharepoint dropdowns validation but I will show only two on my code. I can't seem to find where the problem is. The logic is if the user choose from any dropdown values <> "yes" ...