Questions tagged [newform]

Question related to NewForm

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
213 views

New Item script does not apply after postback

I have a simple javascript code on a new item page, it limits the number of characters for a multi-line field. After I select someone in the people picker, the form does a quick postback and load, and ...
3
votes
1answer
602 views

Custom NewForm & EditForm for Lists in app web of SharePoint-hosted apps

My goal is to create a custom NewForm and EditForm for an existing SharePoint list in the app web of a sharepoint-hosted app for SharePoint 2013 online using Visual Studio 2013. In addition to a ...
2
votes
0answers
74 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 ...
2
votes
1answer
98 views

Library upload form Dropdown options order

I have a library to store files (obvious) with column "City" which is a lookup to list with two columns (CityName & Order). How to change ordering of options in dropdown field (which is in ...
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
0answers
19 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 ...
1
vote
1answer
491 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
1answer
75 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 ...
1
vote
1answer
815 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
335 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" ...
1
vote
1answer
51 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 ...
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 ...
1
vote
0answers
31 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 ...
1
vote
0answers
217 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.
1
vote
0answers
269 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 ...
1
vote
2answers
59 views

SP 2010 - Setting value in newform from a lookup list

I have two lists we'll call List A and List B. List B is a lookup list for List A. List B has two columns. Column 1 is the lookup value. Column 2 is some additional information. What I'd like to ...
1
vote
0answers
278 views

I need to generate a Barcode with every item created

I'm new to SharePoint, and I need to auto generate a barcode containing a specific value from a lookup column to then print the item details and the barcode with a specific Font.. any help would be ...
1
vote
0answers
86 views

How to get a 'Show More' button on my NewForm.aspx?

I know this 'Show More' button from the task form. The important information are on top of my form. I want there to be a 'show more' button so the form looks very clear. Any ideas? Thanks!
1
vote
0answers
33 views

How to use the Search webparts?

I want to use the search webparts for my NewForm. I want to search through the titles from a list on the same sharepoint. Is it possible to view the search results on the same form? Normally when ...
1
vote
2answers
138 views

Script Editor webpart works correctly only in editor mode

I need customize NewForm for list for automatical filling some fields based on user's profile data. I add Script Editor webpart to NewForm.aspx page and write into this code: <script type="text/...
1
vote
0answers
540 views

Redirect to another URL after submitting a form - Mobile version

I have used the Source querystring (http:///Lists/Test/NewItem.aspx?Source=http:///SitePages/Thankyou.aspx) parameter to redirect users to a specific page after submitting a new item. This is ...
1
vote
0answers
79 views

Create a custom permsetup.aspx and add extra text fields for new groups

I have the following requirement: When a user creates a new site via Site Settings\Site Content\New Subsite, and he selects "use unique permissions", the user is redirected to the page: permsetup....
1
vote
0answers
84 views

Conditional visibility and calculated expressions for new and edit forms

We need help regarding visibility and dynamic calculated expressions inside new and edit forms (not the standard calculated fields from SharePoint). Until now we used mostly Ardevia Rich Forms for ...
1
vote
0answers
131 views

Trigger standard new/edit form validation from custom button code behind

I've got a standard new and edit form with one custom button on it. I want to trigger the usual form validation, when the button is clicked and ONLY execute the code behind the button when the form ...
1
vote
0answers
339 views

Get the Checkbox checked status on submit button click in SP 2010 list form

Am using checkbox multichoice field in my newform.aspx and in presaveaction call am doing the below code: function PreSaveAction() { var dt3; var dt4; ...
1
vote
1answer
352 views

"Unable to display this Web Part" error occured

My colleague's STS site suddenly showed this error when she tried to add New Item. Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint ...
1
vote
0answers
980 views

jQuery not showing custom error messages in PreSaveAction method of sharepoint 2013 list "New Form"

I am validating sharepoint list fields on PreSaveAction method of sharepoint list new form. I have done some customization and have put some labels with error messages under the sharepoint formfields. ...
1
vote
0answers
222 views

Calendar - Only display available resources

I have a resource calendar. Is there a way to limit the resources based on the date user picks when they want to reserve a resource. For example, user clicks on 1-26-2015 date and conf room 3, 4, and ...
1
vote
1answer
83 views

Create New Form Issue

I created new custom list. I want to add a new form to the list. I'm clicking new, and I'm selecting properties then OK. But I'm getting the follow error. Why get I this error? I tried to create new ...
0
votes
0answers
6 views

SharePoint 2016 on premise - Image to save Customized Form

I have created a new customized form in SharePoint. I am NOT using Infopath. I have placed an image with a Content Editor Web Part. This image is for a user to click on and it will Save the document. ...
0
votes
0answers
13 views

Can I add a custom HTML field to a custom XSL new item form on a list in SharePoint 2013?

I have a list for which I've created a custom XSL new item form. I want to implement cascading drop-downs for 3 lookup fields that I have on this list. I tried using the SPServices SPCascadeDropdowns ...
0
votes
0answers
13 views

Custom List - Hide 'Settings' on Form Web Parts

I need to be able to hide the ‘Settings’ cog, from everyone other than the site Super Users, on the New & Edit forms of a specific Custom List. My Javascript skills aren’t great, but a colleague ...
0
votes
0answers
28 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 ...
0
votes
0answers
61 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
19 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 ...
0
votes
1answer
216 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
32 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
70 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 ...
0
votes
2answers
43 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
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 ...
0
votes
1answer
64 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
0
votes
2answers
73 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
56 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
33 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
49 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
2k 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
57 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
44 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
1k 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 ...
0
votes
1answer
847 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 ...