tags:

views:

28

answers:

3

Hi All,

I have a list which have around 60 column. In sharepoint page height is very high. So can I add tabs in sharepoint new item page. Please Help.

A: 

Not exactly designed for your situation but this free web part SharePoint View Boost will definitely help you a lot.

skyflyer
The OP is asking about the New/Edit forms (HEIGHT), not the list view
Ryan
+1  A: 

Hi Vipin

There is no built-in way to do this, but if you can code JavaScript it shouldn't be that hard.

In SharePoint designer open the New/Edit form:

Add a PlaceHolderAdditionalPageHead like this

<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
  $('.ms-formtable>tbody>tr:gt(9)').hide()  
});
function showFields(from, to)
{
  jQuery('.ms-formtable>tbody>tr').hide();
  if (from>1)
    jQuery('.ms-formtable>tbody>tr:lt('+to+'):gt('+(from-2)+')').show();
  else
    jQuery('.ms-formtable>tbody>tr:lt('+to+')').show();
}
</script>
</asp:Content>

Add some links to the UI inside PlaceHolderMain like this:

<a href="javascript:showFields(1,10);">1-10</a>
<a href="javascript:showFields(11,20);">11-20</a>
<a href="javascript:showFields(21,30);">21-30</a>
Per Jakobsen
Thanks for replay,Can you please give me some example or code in jquery how can i do this
vipin Paliwal
Reply edited to contain real code
Per Jakobsen
A: 

There are several free and commercial products available that would do that, just google it

Vladi Gubler