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

1
vote
1answer
27 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
0answers
18 views

Unable to get the focus of text box in a Accordion in SP Online List newfor.aspx PresaveAction

Am unable to get the focus of TextBox in a HillyBill templated accordion in my SP online list newform.aspx. i ahve written the code using .focus() of jQuery, but it didnt work! function ...
0
votes
2answers
41 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
44 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
27 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
690 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
0answers
14 views

Making a “Non-Required” field, set to required based on another Form Element selection

I have a drop down where if I select "Yes", two other form fields that are hidden via hidecolumn, will then show via showcolumn event. The drop down is a required field and so are the other two form ...
0
votes
1answer
13 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
2answers
702 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. ...
0
votes
1answer
945 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
997 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
69 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
2answers
900 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
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
3answers
199 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
1k 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
2answers
72 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 ...
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 ...
1
vote
2answers
2k 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 ...
0
votes
5answers
7k 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
35 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
127 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
75 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
58 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
62 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^='...
0
votes
1answer
65 views

How to: Set default values for required column in a SharePoint 2016 newform.aspx using javascript

I have a simple list with a single line of text column. I have a JS function that reads data from other list an set default value for this column in the new form. I simply use. $(“select[Title=’...
0
votes
1answer
616 views

Changing Radio button from vertical to horizontal alignment on new form of list

I have multiple radio buttons(choice column) on new form of a SharePoint list. Each of my choice column contains 10 values ranging from 1 to 10(10 radio buttons) and they are displayed vertically. ...
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
37 views

Adding an Item where selecting checkboxes populates a textbox field with information

I have a Sharepoint List with columns "name", "date", "stage", "information". "stage" is a checkbox column and "information" is a multi-line text box. Is it possible when a "stage" checkbox is ...
0
votes
2answers
305 views

Custom save button on newform.aspx is not visible, enabled. how to trigger event

I am trying to add one new custom button near the save button on a newform.aspx of my list in a SharePoint Online site. Here is the current content editor web part (CEWP) code in the newform.aspx, ...
0
votes
1answer
264 views

Redirect to another-page-from-newform.aspx with the new items id in O 365 SPO Custom List

SymMarc_Redirection Regarding the above link by Marc, i would like to know, how to achieve this in a O365-SPO SPList. i am facing this issue of redirection in my newform.aspx and i wanna redirect ...
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 ...
0
votes
2answers
72 views

Customizing NewForm in SharePoint online

I am currently using SharePoint to set up a vacation request system. I have created the following lists Vacation Request Vacation Request Dates Vacation Request history On the NewForm for Vacation ...
0
votes
0answers
42 views

Source paramater for aspnetForm not working in SharePoint 2013

With SharePoint 2010 I could do something like this to redirect the new form back to the new form on save. document.getElementById("aspnetForm").action = "/path/to/NewForm.aspx?Source=/path/to/...
0
votes
0answers
231 views

Missing - Click To Edit links in SharePoint List/Library settings

We have two SharePoint Web Application (IIS sites) one running on http port 80 and other on port 1234. Web app on port 1234 has one site collection and few sub sites, document libraries, lists etc. ...
0
votes
1answer
24 views

Autofill fields on newform once name is entered in person field

I am creating a request form where below fields are needed: Name: Location: Contact: Manager: Now requirement is, once name is entered rest 3 fields should be autofilled. Can I apply below logic? ...
0
votes
1answer
481 views

Hide values from drop-down choice list in NewForm.aspx using jQuery

In a SharePoint 2016 list, I have a choice column (appropriately named 'Choice') where I would like to hide certain values in NewForm.aspx. Choice 1 Choice 2 Choice 3 (I'm trying to hide Choice 2.) ...
0
votes
1answer
27 views

Employee Based Projects

I have a small problem that i am facing currently in SharePoint Online. I have two list Employees & Projects and i have created cascading dropdown. When the employee selects its name from ...
0
votes
1answer
415 views

use tabs in sharepoint 2013 list new form

I have large numbers of columns so want to use tabs feature in list new form based on categories. How to implement this using jquery? please help
0
votes
1answer
17 views

Hide the emptiness in NewForm

I used the code that added NewForm via "Content Editor", but form itself left a void, how to remove it, this is not presentable appearance? $('nobr:contains("Test")').closest('tr').hide();
0
votes
1answer
84 views

Open modal dialog using javascript stripped from code

Sorry for the Newbie question, but I don't see a relevant answer in searching. I have a SP Online site with a sub-site for Human Resources (HR). I created a custom list for employee feedback for ...
1
vote
1answer
478 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
0answers
16 views

“Close a day” on calendar: prevent new item creation on a day

I need to add a way to prevent new item creation on a chosen day, after this day has been somehow selected. We use a calendar for Resource Booking. The approver wants to be able to "close" a day when ...
0
votes
3answers
1k views

Add “New Event” link/button to Calendar view

I am new to SharePoint, so please hang in there with me as I try to muddle through this. I have a calendar that I would like to add a link to click on to add a new event to in the calendar view so ...
0
votes
2answers
34 views

Choose one or another lookup value in NewForm.aspx

I have two lists, A list looks like this: I want the B list to display those values and in NewForm.aspx I would be able to lookup those values either by the code or by the name. B list: NewForm....
0
votes
2answers
725 views

Make Form Field Read-Only using SharePoint Designer 2010

I'm trying to make a task-form field (SP2010) read-only using SharePoint Designer. I created a new form and set it as default. Open the newly created form in advanced mode in SPD. Change ControlMode ...
0
votes
2answers
238 views

Custom new form not working when list exceeds 5000 items

After 5000 items threshold is exceeded, custom new form stops working even though I did index a couple of columns, and views are working fine, so as default the new form. But when I want to open the ...
0
votes
2answers
36 views

Using NewForm on a page

I've tried a few things and tried searching around, but the information I have found doesn't really tell me how to achieve this. I want to include the add new item form from a list in a page. There ...
0
votes
1answer
41 views

Opening list new form in SharePoint hosted app

I want to develop a Forms Designer tool, so in list, when user will click on Create "New item", the new form will open in the SharePoint hosted app. Where he can drag and drop the input fields to ...
0
votes
2answers
551 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 ...