Hide List Form Field in SharePoint using jQuery

My earlier post listed various methods such as C# Object model, PowerShell, JavaScript methods to hide columns in SharePoint list forms: Hide Columns in SharePoint List NewForm, EditForm and DispForms Now, let’s hide fields in SharePoint list form pages using jQuery. Let’s say you have a field called “Parent Project” and want…

Read more

Disable “Save” Button Until User Selects “I Agree”

Requirement is: Don’t allow the end user to submit a record until they Agree with the terms and conditions by selecting “I Agree”. So, we’ve to disable “Save” button until the “I Agree” check box is checked! Here is the jQuery script to achieve the same. Just place this code in your…

Read more

Show or Hide SharePoint List Form Fields based on Another Field’s Value using jQuery

What: Show or Hide a SharePoint list form field based on another field’s value. How: Use Query script to show/hide the dependent field from the list form based on the current field’s value. jQuery to Show or Hide Fields based on another Field Value: and the output: No value selected Reason filed…

Read more

Rotating Banner for SharePoint using jQuery

With jQuery we can do lot of user interface enhancements in SharePoint. In this article, I’m exploring one of them: Add rotating banner for SharePoint using jQuery, Let our SharePoint site display moving top banner. Lets start building rotating banner for SharePoint! jQuery Rotating Banner for SharePoint – Steps by Step: Here…

Read more

Hide SharePoint 2007 List Toolbar buttons and Menu Items

Got a requirement to Hide SharePoint toolbar buttons (E.g. “New”, “Upload”), Menu Items (E.g. “Upload Multiple Files”, “Alert Me”) from all document libraries of a SharePoint 2007 site collection. If its is for just a single document library, this can be achieved by wring Javascript-CSS, place it in Content Editor web part…

Read more

Display Lists from Other Site Collection/Web Application Using jQuery

Another frequent requirement is to display Lists/Libraries from Root site to Sub-site or Sub-site to Root site, and in some cases from Cross-Site collection. While this can be fulfilled by Web Services, Custom Web Parts, etc, here is the simple jQuery method to display SharePoint list from another site collection or a…

Read more

SharePoint Link list: Open in a New Window

In SharePoint, We can put any URLs in the Links list. Unfortunately, when clicking these links, the default behavior is for the page to open in the current browser window. That is, it does NOT open the page in a new instance of the browser. Often this is annoying, isn’t it? How…

Read more

Cascading Drop down In SharePoint Lists using jQuery

Out-of-the-box SharePoint doesn’t provide a way to cascade drop downs in list forms. Luckily, jQuery provides a way to implement cascading drop downs in SharePoint list forms. Here is the step by step implementation guide: We need to have two more lists to implement this. Let’s say: List 1: Parent list, say:…

Read more

Expand-Collapse for Multiline Text columns in SharePoint

Sometimes, when working with the Multiline fields, they may occupy the whole page :-). We can solve this issue by introducing Expand-Collapse Trick with jQuery. On clicking on the little Arrow that row will be expanded, then again clicking will collapse. Here is How: Add the CEWP webpart and place the below…

Read more