68 votes

New List Item - How can I change the order of fields in the form?

Found the answer elsewhere that doesn't require SharePoint Designer: Just a quick post in answer to a question I got yesterday: How do you change the order of fields in edit or display forms? Go to ...
user avatar
10 votes
Accepted

Missing delete attachments button

It's a normal behavior with the recurrence events when you try to edit a specific one event in the Event series ! So you should be aware of the following : If the file attached for a specific event ...
user avatar
10 votes
Accepted

How to provide contribute without edit permissions?

Create a custom permission level by copying the contribute permission level and remove Edit items option. To create a permission level Open the site collection site (the root site not a subsite) Go ...
user avatar
9 votes

New List Item - How can I change the order of fields in the form?

From the List, click List tab on the ribbon Click List Settings Under Content Types header, click "Item" (It's a clickable hyperlink even though it doesn't look like it!) Scroll to the bottom and ...
user avatar
  • 191
8 votes

Add a message inside my Create and Edit list forms, which explain that "*" mean the related field is mandetory

That's a kind of bulky way to do it, what if you create multiple sites using this template and then need to change something in the text document? That would be a lot of manual work to update the ...
user avatar
  • 9,501
8 votes

How to provide contribute without edit permissions?

You can create your own permission level same as contribute, but without edit option. Below is the link for reference. https://technet.microsoft.com/en-us/library/cc263239.aspx
user avatar
  • 4,800
8 votes

How to provide contribute without edit permissions?

You can use that Standard available Contribute Permission profile Your "View Own Items" restriction is a setting on the List, not in the Permission profile
user avatar
6 votes
Accepted

Modifying ListForm Save & Close button through JsLink

You could use the "PostRender" event to execute your javascript method after the form is completely loaded, something like: (function () { // Initialize the variable that stores the objects. ...
user avatar
5 votes
Accepted

How to Redirect when clicking "Save" in NewForm.aspx

Suppose you have: A page at the following URL: https://Your_Site/Site Pages/ThankYou.aspx. A form https://Your_Site/Your_List/Forms/NewForm.aspx Now, what you want to do is to make sure users access ...
user avatar
4 votes
Accepted

How to remove custom action/link from list item menu?

Open site in SharePoint Designer From left navigation choose Lists and Libraries Open the list in question Now from right pane - Look under "Custom Actions" Select the action to delete Use Ribbon "...
user avatar
  • 28.2k
4 votes
Accepted

How can lists be made to support master-detail relationships?

I've tried a number of approaches for using SharePoint lists as the foundation of master-detail relationships. There are pros and cons to each, but because parent-child relational data is so central ...
user avatar
  • 482
4 votes

Date Validation on PreSaveAction in SharePoint 2010 list newform.aspx

Maybe you can solve this with simple Validation settings on your list instead. Just from your requirements, you could do the following: To populate the todays date in ReqstDate , set the default ...
user avatar
  • 6,238
4 votes
Accepted

Is it possible to move fields on SharePoint list form?

It's still "super" simple, as you know, CSS is... CSS. So first thing first, go into the request form through sharepoint, click on the cog and hit edit page, press F12 to access developer tools and ...
user avatar
  • 397
4 votes

Add a message inside my Create and Edit list forms, which explain that "*" mean the related field is mandetory

I donot suggest to add content editor webpart for this. Instead you can leverage JS link of New/ Edit list web parts. Add script to JS in the below format ~site/SiteAssets/scripts/jquery.min.js | ~...
user avatar
  • 636
3 votes

Validate a column only on edit

Customize the Edit form (either through SP Designer) or add Content Editor webpart (SP 2010) or Script Editor webpart(SP2013). Add JavaScript code to perform validation. Use SharePoint PreSaveAction() ...
user avatar
3 votes
Accepted

Get List Item ID from NewForm.aspx

I have fixed this issue. I forgot to copy second script to edit form. Now its working as mentioned in the blog. http://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/ 1) The ...
user avatar
3 votes

Disable "group by" auto expand on load ? [screenshot]

Try this one: From Ribbon click on Modify view. on this page go to group by and you will see this options By default, shows groupings see the screen shot.
user avatar
  • 56.7k
3 votes

How to get item attachment size in JavaScript

Use below REST API example url: "<app web url>/_api/SP.AppContextSite(@target)/web /getfilebyserverrelativeurl('/Shared Documents/filename.docx')/Length For more info: MSDN
user avatar
  • 785
3 votes

Validation of fields newform.aspx SPServices

In PreSaveAction, you would just use jquery to get the field value and do your validation, basic example. function PreSaveAction() { var title= $("input[Title='Title']").val(); if(!title....
user avatar
3 votes

Make a column mandatory based on value of another column

What you need is a formula at list item validation. Go to list settings, and find validation settings. The formula you need to use should be something like the below one: =IF([Status]="Closed",IF([...
user avatar
3 votes

How i can set the "Due Date" field (on the fly) to be equal to Today date, when the "Status" dropdown list is changed to "In progress"

For client-side implementation, use JSLink to override field rendering. You can also add your javascript dropdown change handler to PostRender function of JSLink. Using server side, you can use event ...
user avatar
  • 4,179
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:
user avatar
3 votes

Creating SharePoint List form with HTML

You can do it, using both JSOM and the Rest OData API, but you´ll have to validate the data on the client, Sharepoint will not handle it.
user avatar
3 votes

Is it possible to move fields on SharePoint list form?

If your question relates to adding padding on the right hand side of a NewForm.aspx for all fields, then my answer my work. Are you able to 1) open the list’s NewForm.aspx in Designer and set the Web ...
user avatar
3 votes

Sharepoint 2013 - Change text value of choice field 'Other'

I have found a solution. I needed to add _spBodyOnLoadFunctionNames.push("changeSpecifyOwnValue"); I changed the script to the one below: <script type="text/javascript"> ...
user avatar
  • 579
3 votes
Accepted

New to SP - How can I do this in one/multiple lists

If you do not have access to development tools, start with a simple method. Create three lists: Application List Application Name (title field) Analyst (person field) Known Issues List ...
user avatar
3 votes

Response field with an image depending of field selected SharePoint online

Not sure what exactly you are trying to achieve but I think you can create three content types (let's say 1, 2 and 3) and add the fields you want to appropriate content type. For example Content Type ...
user avatar
  • 3,016
3 votes
Accepted

Add Column which contain a default value "Show details"

The solution is : Create a calculated Column and make as formula ="<a target='_blank' href='http://intranet/CA/Restricted/SitePages/Service%20Details.aspx?ProspectID="&ID&"'>Show ...
user avatar
  • 523
3 votes
Accepted

Refresh publishing page on modal form submit in SharePoint Online

Try to use window.location.reload(); in the IF condition to refresh the page Example dialogReturnValueCallback: function(result){ if (result == SP.UI.DialogResult.Ok) { window....
user avatar
3 votes
Accepted

JavaScript to hide sharepoint fields reruns when form is submitted and required fields are missing

I'm not a 100% sure on this, but here is what I normally do... Rather than keeping the script from reruning, the script should be able to run again without breaking the behaviour. You are telling the ...
user avatar

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