Questions tagged [newform]

Question related to NewForm

Filter by
Sorted by
Tagged with
0
votes
2answers
948 views

Custom New Form Not Working for End User

I have a custom form that I use an HTML file and JS file to span the fields that I designate and populate in the HTML fields. It has been working fine up until Friday, when the fields seem to not ...
2
votes
2answers
3k views

SP2013 validate required fields before presaveaction

Is there a function that can be called in presaveaction that will do the preliminary SP required fields validation first? For a simple example: A form has a start date and an end date, both required ...
1
vote
2answers
42 views

How to Redirect when clicking “Save” in NewForm.aspx

After a user clicks "Save" on a NewForm.aspx, I want to redirect the user to a "ThankYou.aspx" page instead of the "AllItems.aspx" page. Without writing a custom form and ...
1
vote
1answer
9 views

After New Form route user to defined page

I want to integrate a new form from a custimized SP list in a web page. But after submit the form I don't want that the user will route to the list. I want to define what the user will see after ...
0
votes
0answers
26 views

Set default value in dropdown menu based on user account

Sorry for possible lame question, I'm quite far from programming. I have Table 1 (employees list) with usernames and account names. Also I have Table 2 (task list) with tasks and responsibles. There ...
1
vote
2answers
4k 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 ...
0
votes
1answer
767 views

Post presaveaction functions

On my new form, I wish to execute further code that involves processing the ID of the item just created. Obviously the ID is not available before the item is saved, but I was hopeful I could get the ...
0
votes
0answers
43 views

how to redirect Modern UI cancel button using Spfx

hi i want to redirect modern ui newwform.aspx page cancel button to cancel page ? how can we do it using extension i have extension code which inject Javascript but unable to find cancel selector ...
0
votes
1answer
838 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 ...
0
votes
2answers
1k views

Adding 'New Item' Renders Blank NewForm.aspx page

I have a really weird issue. I have created a new Custom List with the default List content type. When I attempt to add a new item, a blank page is displayed. The NewForm.aspx page does not display ...
0
votes
1answer
1k views

People fields data not saved when save by WebForm_DoPostBackWithOptions SharePoint 2013 online

I have a list with a few people picker fields, i have a script on the new form: function triggerPostback() { var saveButtonName = $('input[value$="Save"]').attr('name'); ...
0
votes
2answers
2k views

Passing parameter to NewForm.aspx

Does anyone know if its possible to pass a parameter from a list page to NewForm.aspx? I have a list which is currently filtered on owners of tasks where users will be able to view the tasks ...
0
votes
1answer
79 views

Filter a dropdown list

I have a custom list, and I'm trying to achieve a filtered dropdown in the newform.aspx of the list. So lets say I have 2 dropdowns, and if a user choose 'fruits' value in the first, the second ...
0
votes
1answer
15 views

Attachement button in the column field

i used the below attachment button code, which works good: Add attachment button to a custom new form SharePoint 2013 Only issue is that, i want attachment to be link to the column, for example i ...
1
vote
1answer
51 views

After Patching Data, NewForm Displays Last Submitted Data when creating new Record?

I have created a record by using patch statement using form on submit, and when I go for creating new record (+), the form shows last submitted data filled in? why it's happening like that, although I ...
0
votes
1answer
101 views

NewForm.aspx disappeared

In SharePoint online the calendar default new form disappeared, and whenever I try to create a new one I keep getting: I have tried clearing the SharePoint designer cache but I keep facing the same ...
0
votes
1answer
25 views

User with custom add permissions unable to add the item to SharePoint online list

We are having a SharePoint list in which user is unable to add the list item even when the user has the "Add" permissions on the site as well as on list. The list does not have any Item ...
0
votes
2answers
35 views

Newform opening blank for a particular SharePoint online list

We are having a list in SharePoint, and for some users what we did is we only gave the Add and View permissions to the users, removing their Edit permissions on the site. So now what is happening is ...
4
votes
3answers
13k 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....
2
votes
2answers
3k 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....
0
votes
1answer
675 views

Validate my newform.aspx “Save” and “Cancel” buttons

I am working on a project where I have to create a form for users to register. I created a list, created the columns and I use newform.aspx as the new registration page and I followed some online ...
1
vote
0answers
18 views

NewForm.aspx slides in from any page

In modern experience List, when you click NEW - the form slides in from the right. Is there a way to do the same through a link? For example, when user clicks the link to newform.aspx located ...
4
votes
2answers
21k 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 ...
1
vote
3answers
558 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
210 views

Stay on NewForm after submitting the form

I have a requirement where Users need to stay on list's NewForm.aspx after submitting the item details. They should be able to create as many items until they click on Cancel without redirecting to ...
0
votes
2answers
41 views

Customize SharePoint 2013 New Form

I am struggling with SharePoint and JQuery. I tried to add new HTML elements to a a SP 2013 New form. So I fired following command in the Chrome dev console: $("select[title='TEST']").closest("td")....
0
votes
0answers
21 views

Can I set the value of field for a custom list based on which custom form a user chooses?

New developer. Be gentle, please. Constraints: I am using SharePoint Designer and SharePoint 2010 behind a firewall so I can't upload pretty much anything without going to my helpdesk and getting a ...
1
vote
1answer
218 views

How to disable all inputs inside `<div>` in SharePoint 2013 form?

I want to disabled/readonly inputs on some fields in SharePoint 2013 New/Edit forms based on a field's value. So I manually add <div> around group of <tr>. <div id='myDiv'> <...
0
votes
1answer
192 views

Add Content Type field to New Form

I have a list on a SharePoint 2016 using 3 content types. When an item is edited the end-user has the Content Type field to toggle between content types. I am looking to see if there is a way to ...
0
votes
2answers
548 views

Display image on drop down selection change newitem form

I'm building a list where I want to show an image of the selected item as it's selected in the drop down in the new item form, I have very little javascript knowledge. I'm using the following script &...
1
vote
2answers
775 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. ...
1
vote
1answer
436 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 ...
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
73 views

SharePoint Online Custom List -> Link or Picture Column | Is there a way to upload picture directly from New Item Form?

First of all I am using SharePoint Online with the app "Custom List". In this Custom List I have added a column of the type "link or picture". Basically I use this column for a simple picture view. ...
1
vote
1answer
59 views

In online SP2016, after adding a new item and click save, site successfully redirected to new page, but new item data not saved

I used below code in my online sharepoint(2016) project. While the redirect part is working perfect, the new item, however, is not saved. May I ask, did anyone ever get the same issue like this? Here ...
0
votes
2answers
302 views

Tabbed UI for SharePoint Online SPList NewForm.aspx

am trying to create a tabbed form for my newform.aspx in my SPList. below is the code i got from the code.msdn ...,and added as a jslink custom but am unable to render this as tabs and instead am ...
0
votes
1answer
286 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
1answer
31 views

Create a customized default entry in a input box of a NewForm.aspx based on total count (increment)

New at creating JavaScript Code in SharePoint. I'm trying to create a customize default value input on my NewForm.aspx. It's based on counting the number of entries so far (including 0) and then ...
0
votes
1answer
104 views

Only secure content is displayed message in IE browser of newform.aspx of my SPList in SPO

I have created a new SPList and when I create on newitem, it opens the newform.aspx as usual and strangely, am getting a message/warning message below of IE browser. Am not facing this issue in ...
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
2answers
2k 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
0answers
85 views

SharePoint 2013: New Item Link [closed]

I am trying to change the default url of the "new item" link in SharePoint 2013 list. Is it possible to change it OOTB? Or any other possible way to achieve this? Thanks
0
votes
3answers
428 views

Adding a webpart to the right of New Form

I have a list that is used to schedule certain tasks for employees. To make it easier to know the schedule of specific employees, I would like to add the calendar view of that list to the New Form ...
0
votes
2answers
557 views

Passing query string to Survey list newform.aspx

Is it possible to send query string to newform.aspx of the survey form so it's pre-populated? (I am using SP 2010) The question in survey list is created is ServiceTicketNumber and then renamed the ...
0
votes
5answers
9k 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
60 views

Redirect to Site Page After Clicking New Button

Is there a way to redirect to a custom site page after clicking the New button in my library? After clicking, should redirect me to a custom page such as: https://<url>/SitePages/Sample.aspx
1
vote
1answer
678 views

Add Script Editor to Upload.aspx

I would lke to add a Script Editor to the SharePoint Document Library's Upload.aspx page to do something similar to https://www.c-sharpcorner.com/article/pre-save-action-on-document-libraries-in-...
1
vote
1answer
474 views

Remove special characters from string using jquery [closed]

How to remove special characters from string. If user provided any special character from the below set of characters that should be removed: | \ " ' / [ ] : < > + = , ; ? * @ I tried regex. ...
1
vote
1answer
259 views

3 tier SP Services Cascading Dropdown

I have 4 lists: Category Subcategory Detail IT Service Request Column Details: Category list has one column: "Title" Subcategory list has two columns: "Title" and a lookup column named "Category" ...
0
votes
1answer
471 views

Hide “Enhanced Rich Text” (Multiple lines of text) field if empty

I'd like to hide 'Multiple Lines of Text' (Enhanced Rich Text) field if it's empty, if isn't empty -> show (both for New form & Edit form). My code: if($("input[title^='...