Questions tagged [newform]

Question related to NewForm

Filter by
Sorted by
Tagged with
0
votes
2answers
37 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
19 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
55 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'> <...
1
vote
3answers
46 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
26 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
60 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
1answer
75 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
1answer
36 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
45 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
23 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
114 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
166 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
34 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
17 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
80 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
241 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
44 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
385 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
261 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
108 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
244 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
3k 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
36 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
39 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
721 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
693 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
160 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
40 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
1answer
872 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
32 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
30 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
571 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
18 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
124 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
19 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
2k 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
38 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
1k 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
791 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
39 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
312 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
46 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
576 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
838 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
146 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
1k 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
53 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
197 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