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.
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)....
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....
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 ...
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....
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 ...
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 ...
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 ...
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:
...
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;
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 > ...
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-...
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 ...
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 ...
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(...
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, ...
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
});
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 ...
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 ...
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:
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.
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 ...
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 ...
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 ...
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>
....
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
custom-form × 649sharepoint-designer × 135
infopath × 84
2013 × 82
sharepoint-online × 71
list × 69
custom-list × 69
2010 × 66
list-form × 58
form × 57
sharepoint-enterprise × 49
javascript × 46
content-type × 32
development × 31
sharepoint-server × 28
workflow × 26
web-part × 24
sharepoint-foundation × 22
jquery × 22
document-library × 17
edit-form × 17
lookup-column × 15
visual-studio × 14
2007 × 13
people-picker × 13