Questions tagged [newform]

Question related to NewForm

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

Disable dropdown selection in newform aspx

I have below code which hide the dropdown but I want to disable it or greyout the selection <script src="https://code.jquery.com/jquery-3.3.1.js" type="text/javascript"></...
  • 119
1 vote
2 answers
240 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 ...
  • 129
1 vote
1 answer
18 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
0 answers
80 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 ...
  • 119
0 votes
1 answer
25 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
1 answer
65 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
1 answer
442 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
1 answer
38 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
2 answers
134 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 ...
1 vote
0 answers
26 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 ...
0 votes
1 answer
478 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 ...
  • 818
0 votes
2 answers
44 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
0 answers
22 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
1 answer
743 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'> <...
  • 37
1 vote
3 answers
1k 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. ...
  • 37
0 votes
1 answer
885 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 ...
  • 113
0 votes
2 answers
1k 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 &...
  • 3
1 vote
1 answer
783 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,611
0 votes
1 answer
123 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
1 answer
102 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
2 answers
493 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
1 answer
395 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
1 answer
36 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 ...
  • 307
0 votes
1 answer
121 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 ...
1 vote
0 answers
91 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
2 answers
908 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
1 answer
204 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
  • 151
1 vote
1 answer
930 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
1 answer
787 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. ...
  • 357
1 vote
1 answer
433 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" ...
  • 13
0 votes
1 answer
754 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
1 answer
10k 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
1 answer
120 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
1 answer
123 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
2 answers
1k 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, ...
  • 374
0 votes
1 answer
2k 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
1 answer
944 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
1 answer
130 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 ...
  • 140
0 votes
2 answers
75 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 ...
  • 1
0 votes
1 answer
2k 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
1 answer
71 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
1 answer
36 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
1 answer
740 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
  • 1,195
0 votes
1 answer
19 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();
  • 614
0 votes
1 answer
421 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 ...
  • 295
1 vote
0 answers
20 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 ...
  • 11
0 votes
3 answers
5k 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
2 answers
58 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....
  • 3
0 votes
2 answers
2k 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
1 answer
2k 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 ...