Monday, 31 October 2011

JavaScript and SharePoint List Form fields

Sometimes we need to hide some of the fields, set default value for fields, get the current value of fields on List new form, and edit form, display form.

We can achieve this using JavaScript.

To start with, Microsoft Team has given a good solution on this post

But there are some catches, when we use code given in above post for controls like check box, multiple line textbox.
There is a very good post on cleverworkaround which has much improved JavaScript to overcome these controls.

To return values for SharePoint field types from newform and editform, below is good post given by Alexander on his blog SharePoint JavaScript

Hope all these information will be helpful for all of you.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...