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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [newform]

Question related to NewForm

1
vote
1answer
20 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
17 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
39 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
43 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
12 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
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 ...
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
67 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
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
122 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
71 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
61 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
592 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
27 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
297 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
258 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 ...
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^='...
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
71 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
1answer
470 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
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
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
408 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
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
706 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 ...
1
vote
1answer
472 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 ...
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
2answers
236 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
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
1answer
382 views

Set list item field in URL

Let's say I have a list with three fields: Title Description Type (dropdown) Via the URL, would it be possible to set the value one of the fields? for example, https://.sharepoint.com/Lists/Test/...
0
votes
2answers
537 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
105 views

SPO Autocomplete Text Field in Form that renders the Title Column(s) from Ten Lists

I was wondering if there is a way to get an autocomplete text field in a New Task Form that renders the 'Title' column from each of the (10) lists/document libraries in my SharePoint App. Currently, I ...
1
vote
2answers
981 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 ...
0
votes
1answer
49 views

Populate columns on newform based on existing item

In custom list, when user selects item and clicks on button or something like that, I would like to load newform with populated columns with values of selected item. To be more clear, it's like ...
0
votes
1answer
176 views

SPFx - Cannot add sharepoint framework webPart in list NewForm.aspx

I want to add my custom sharepoint framework webpart form add list item in default add page in my list. I have following error after add webpart in NewForm.aspx
1
vote
1answer
104 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
0answers
29 views

Created a form that I am trying to use to create a workflow

Full discretion: Novice at SharePoint - any help is appreciated. I created a form that I am trying to have linked to a workflow that I have based off a list I created. I understand that in Designer ...
0
votes
1answer
36 views

Force Mobile Devices to Open Number Keyboard in Custom Form

I have created a custom form in SPD 2013 for a SharePoint Online list, using a DataFormWebPart. When I go to edit a field on the form from a mobile device, I would like the browser to default to the ...
0
votes
2answers
591 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 ...
1
vote
0answers
173 views

How to deploy the Custom list page in survey list in SharePoint 2013 programmatically?

I need to add a custom list page in survey list using c#, Please suggest some idea to achieve this.
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 ...
1
vote
0answers
131 views

New Form in Dialog Box with ParentID

Working in SharePoint 2013, I have Parent Child lists: Request is the Parent, and Task is the Child. I have used the SharePoint Hillbilly Tabbed form for the Parent, and a web part showing the related ...