10 votes

Change default form in SharePoint Designer

You can set it as default from SharePoint Designer 2013 as well. You need to select the form and then it will enable the "Set as default" button control in the Ribbon.
Prasad Kondhare's user avatar
10 votes

Hide/Show columns in Custom List based on dropdown selection

Your code should be worked, Just one note If you are using SSL, so you should use the HTTPS JQuery reference. The below code should work <script type="text/javascript"> $(document)....
Mohamed El-Qassas MVP's user avatar
8 votes
Accepted

Can force the "Title(linked to item with edit menu)" column inside my list view to reference to another URL

Please try to use CSR. Step 1: Create a JS file and paste below code. (function () { function registerRenderer() { var ctxForm = {}; ctxForm.Templates = {}; ctxForm....
Rohit Waghela's user avatar
7 votes
Accepted

All internal field names in the farm incremented in SharePoint Online... why?

That is not the internal field name of the SharePoint field, it is how ASP.NET (ASPX pages) gives IDs to the fields when it renders them. You should never rely on those as they keep changing based on ...
Jussi Palo's user avatar
  • 8,226
6 votes

Configure custom forms for New and Edit using CSOM

If I am not wrong, you need to change the default New & Edit form of your specific list using CSOM. Following is using C# Get your list an Content Types. var specificList = oWebsite.Lists....
Atish Kumar Dipongkor's user avatar
6 votes

Hide/Show field on list form based on value from another field

How about using Content Types? Just define different content types for your list, when someone defines the list of content Type A, it will show the fields you want to show, when they select type B, it ...
Yugo's user avatar
  • 397
6 votes
Accepted

Connecting an html form to a sharepoint list

You can implement this by creating a Custom New Form and adding the HTML you have already created to this aspx page. This will be bound to the SharePoint List . Each SharePoint List by default has ...
Priyaranjan KS's user avatar
5 votes
Accepted

Change size of newform.aspx when clicking new item

Yes you can. At least in SharePoint 2013 on-prem First create a new custom form. Go to the list where you want the new form and edit the form in SharePoint Designer. Then create a new form (1), give ...
Patrick's user avatar
  • 3,173
5 votes
Accepted

Clientpeoplepicker control in custom SharePoint List form

Solution: On custom form i added SharePoint:ClientPeoplePicker control near SP2010 peoplepicker control (Which not have autocomplete), that was hided. Markup to add sharepoint:clientpeoplepicker: ...
Alexander Ulmaskulov's user avatar
5 votes
Accepted

Javascript - Get text from display version of multiline field

You can use queryselector to reach the text inside the div: var textValue = document.querySelector("#allowances div").innerText;
Lucas Rodrigues's user avatar
5 votes
Accepted

SPUtility Show Hide Field Based on Value from another field Custom Form

You can use Jquery (No need to SPUtility) to a show and hide a field based on your selected value by doing the following : Open your customized new form via the browser. Edit Page . Add web Part > ...
Mohamed El-Qassas MVP's user avatar
5 votes

Connecting an html form to a sharepoint list

There's a great solution which allows you to build a HTML form for SharePoint lists if you're okay using JavaScript and jQuery. Original solution: http://www.markrackley.net/2013/08/29/easy-custom-...
Una Lahiff's user avatar
4 votes

Survey for each list item

What you could to is just create a OOTB custom list, change the Title field to "New Idea" or something relevant and then enable ratings for the list from List Settings > Rating Settings. Enable it to ...
Christoffer's user avatar
  • 9,721
4 votes
Accepted

Display datepicker on top of the forms's modal dialog

I did try to add 100 pixels to the modal dialogs height through jQuery once one of the calendar images are clicked (to open the datepicker) and then disable the jQuery to prevent any more height to be ...
Christoffer's user avatar
  • 9,721
4 votes
Accepted

Open attachments in new tab issue

Just resolved my issue. I referred to this question's answer and added .attr('onclick', '') This clears the onclick attribute in the html. So my code now looks like this: $(document).ready(...
Gintas K's user avatar
  • 1,227
4 votes
Accepted

How can I force one to one relationship in SharePoint lists?

I am assuming that you have Employee list(Parent list) and Access card list (Child list) with lookup column "Employee" from parent list. To force one to one relationship, in child list lookup column, ...
P S's user avatar
  • 4,827
4 votes

SPClientPeoplePicker is not defined in custom edit form

Maybe you have to request the script on demand, try this in your code: SP.SOD.executeFunc('clientpeoplepicker.js', 'SPClientPeoplePicker', function () { //awesome code in here });
Jaime Arroyo Garcia's user avatar
4 votes

Show images in a dropdown menu when creating a new form

As several questions and answers over on StackOverflow point out, not without an additional Javascript widget to convert the <select> control of the drop-down into something else. According to ...
Dylan Cristy's user avatar
  • 12.6k
3 votes

Hide form fields based on current user's department

For OOB solution, I'd create multiple New/Edit forms for the list (one for each department). Then ensure each department user uses the New/Edit form customized for them by, e.g., placing link to ...
Jussi Palo's user avatar
  • 8,226
3 votes

Use SharePoint Edit List Item form as Separate page

Sounds like the default for your List Settings is to open Forms as a Modal Dialog instead of a separate page. Open your List settings -> Advanced settings:
Danny '365CSI' Engelman's user avatar
3 votes

Can force the "Title(linked to item with edit menu)" column inside my list view to reference to another URL

You can create hyperlink column and from list default view hide Title column and your newly created custom hyperlink column. It will redirect you to link which you will set.
shraddha shah's user avatar
3 votes

Can force the "Title(linked to item with edit menu)" column inside my list view to reference to another URL

You can achieve this using client side rendering in SharePoint 2013 by redefining LinkTitle field for the view. There is an excellent article by Andrei Markeev on this. It also has an example that ...
Vineet Desai's user avatar
3 votes
Accepted

Custom List - add SAVE and SUBMIT buttons

If user click on save/submit button then you save the details in list along with this update the choice list value as save/submit in list. Next You need to create a sharepoint designer 2010 Workflow ...
Nagababu Annamdasu's user avatar
3 votes
Accepted

Change form field width

CSS-only. (Inside a script editor webpart on the form aspx page). The only thing you need to change is the TR child element (tr:nth-child(1)). Now it targets the first column in the form. The first ...
Christoffer's user avatar
  • 9,721
3 votes
Accepted

Sharepoint Custom Form : Modify font for description

You should be able to change the font of the field's description on the new or edit form with this css (this just changes the font color to red, so tweak it according to your needs): <style> ....
Damjan Tomic's user avatar
  • 3,626
3 votes
Accepted

How to detect Edit vs New when styling custom list forms with JSON?

Using Created, ID, or Author in JSON code will not work as those fields are not shown on list forms. You can refer only those columns which are shown on list forms. Also, even if you refer any other ...
Ganesh Sanap - MVP's user avatar
2 votes

Hide/Show field on list form based on value from another field

Hi there thanks for provided the answer its worthful but I have multiple fields like Requestor as choice field on clicking the value "others" the Requestor_description need to show similarly I have ...
Barun Ghatak's user avatar
2 votes

How to change redirect URL of Cancel button

Have you tried this? TL;DR version, using jQuery: $(function() { $('input[value=Cancel]').click(function() {history.go(-1);}); }); Or to tackle both Cancel buttons at once: function ...
Chris Romp's user avatar
2 votes

How to display lookup additional field in display form?

For parts 1 and 2 of your question: Not sure if this helps (I'm on SharePoint Online [2013]), but try using the SharePoint:CreatedModifiedInfo tag as suggested here to show properly hyperlinked ...
Laura S's user avatar
  • 33
2 votes
Accepted

Sharepoint 2013: List and List Form

There are a few different ways I can think of to handle this, based on what I think you described. Created your fields - and then just create a custom list view that doesn't show those column. Your ...
Jesus Shelby's user avatar
  • 10.9k

Only top scored, non community-wiki answers of a minimum length are eligible