Hide dropdown values from choice fields in SharePoint via jQuery

hide some values in a dropdown field. This is not a way to create a cascaded dropdown, but it could be helpful if you want the users to be able to not select something when a specific rule is met.


Automatically fill in fields via JQuery in SharePoint

Last time we talked about hiding fields in the editform, newform and dispform. But what if we don’t want to hide a certain field, but rather get some value and put it in? An example could be to fill in a unique number or the day of the week. Code First, add the reference to …


Cut off the xxx;# from a datasource field lookup in SharePoint

If you work with SharePoint and SharePoint Designer to create your own pages to show fields, you probably want to do the same with lookup fields.┬áBut if you add a lookup field, you get a nasty code referencing to the item number included in the field.┬áLuckily, in SharePoint Designer you have access to the code …


Hide the Content Type field in the editform via jQuery

Hi again, Another blogpost here about jQuery. After my blogpost about hiding fields in the Editform, I got a lot of questions on how to hide the Content Type field. For instance, when you create a folder content type, you will always have the choice to select the default content type “folder”. So let us …


Ways to get sharepoint 2010 fields in jQuery: Editform vs Dispform

Hi again, All about jQuery these days.This is such a powerful language to do a lot of cool things on SharePoint! After my blogpost about hiding fields in the Editform in SharePoint, I got some questions on how to hide fields in the Dispform too. So let us check out what happens in SharePoint and …


SharePoint (2007 + 2010) Jquery presave action to validate items before you save it

What are you talking about? A new feature in SharePoint 2010 is the validation option. I already blogged about it but I soon came to some limits. You have 2 kinds of validation settings: – on a column with the restriction that you cannot refer to other fields; great for when you want to check …


Free fix for view selection on pages with more then 1 webpart in SharePoint 2010

Hide Recently modified items in SharePoint 2010 wiki

What are you talking about ? In SharePoint 2010, when you are working with a wiki or Site Pages library, a new menu appears on the quick launch navigation telling you which documents were recently modified. That is great to know, but if you are using the library for publishing purposes, your end-users don’t need …


Hide fields on new and edit pages in SharePoint (2007 and 2010) via jQuery

What are you talking about? When you are automating a certain process or site in SharePoint, sometimes you want to hide some fields. Let me give you an example: I have a list to keep track of a process, say an RFP. I can enter a new RFP, but when I create a new one, …


Write Html code in SharePoint 2010

What are you talking about? Last year I wrote a blogpost concerning the PathToSharePoint solution to parse html on a SharePoint page. That solution was great and was working really well. It wasn’t however working in SharePoint 2010. They have released a new script, specifically for SharePoint 2010! What is it ? Say, you want …