Disable all day event in Calendar listHi there,<br/><br/>Is there anyway of disabling the All day Event field in a Calendar list. I don't have the option to hide it either.<br/>© 2009 Microsoft Corporation. All rights reserved.Mon, 06 Jul 2009 02:40:53 Z0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afehttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afehttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afepl7626http://social.msdn.microsoft.com/Profile/en-US/?user=pl7626Disable all day event in Calendar listHi there,<br/><br/>Is there anyway of disabling the All day Event field in a Calendar list. I don't have the option to hide it either.<br/>Fri, 26 Jun 2009 16:49:39 Z2009-06-26T16:49:39Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#1c7ae37e-5882-42b0-9977-b871ba15421ehttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#1c7ae37e-5882-42b0-9977-b871ba15421eKyle Schaefferhttp://social.msdn.microsoft.com/Profile/en-US/?user=Kyle%20SchaefferDisable all day event in Calendar list<p>If you re-create the form in a new ASPX page using a data view web part, you should be able to edit the form XSL in order to remove the checkbox.</p>Fri, 26 Jun 2009 17:03:45 Z2009-06-26T17:03:45Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#bfa97854-19ac-45d4-91b0-1d27337fd7f3http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#bfa97854-19ac-45d4-91b0-1d27337fd7f3KolbyH - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=KolbyH%20-%20MSFTDisable all day event in Calendar listYes, I would agree with Kyle. You can re-create the New and Edit forms to remove the all day option - that way a user can't create an all day event. Fri, 26 Jun 2009 19:59:42 Z2009-06-26T19:59:42Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#0497cdfe-bf1c-4635-86e9-0287bfea58ebhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#0497cdfe-bf1c-4635-86e9-0287bfea58ebDavid Lozzihttp://social.msdn.microsoft.com/Profile/en-US/?user=David%20LozziDisable all day event in Calendar list<p>You could use javascript on the page, instead of breaking the page inheritance using SPD, to hide the row. Using SPD, throw this at the bottom, outside of the web part zone<br/><br/>&lt;script language=&quot;javascript&quot;&gt;<br/>function HideField(title){<br/>for(var i = 0; i &lt; document.all.length; i++)<br/>{<br/>    var el = document.all[i];<br/>    // find html element with specified title<br/>   if(el.title == title)<br/>    {<br/>        var pars;<br/>        pars = el;<br/>        for(var j = 0; j &lt; 10; j++)<br/>        {<br/>            //loop through parents and hide the parent row<br/>           if(pars.className == &quot;ms-formbody&quot;)<br/>                break; //should have the TD object now</p> <p>            pars = pars.parentNode;<br/>        }          <br/>        pars = pars.parentNode; //get the TR object<br/>        pars.style.display = &quot;none&quot;; //and hide the row<br/>        break;         <br/>    }<br/>}<br/>}<br/>{</p> <p>HideField(&quot;All Day Event&quot;);<br/>}&lt;/script&gt;<br/><br/><br/>I've written a webpart that also handles this much easier, if you're interested let me know and I'll send it over. Hoping to get it to codeplex soon.<br/>HTH</p><hr class="sig">David Lozzi<br/> <a href="http://www.delphi-ts.com?utm_source=MSDN">Delphi Technology Solutions</a><br/> <a href="http://www.delphi-ts.com/blogs/lozzi?utm_source=MSDN">Blog</a>  |  <a href="http://www.linkedin.com/in/davidlozzi">LinkedIn</a> | <a href="http://www.twitter.com/davidlozzi">Twitter</a>Fri, 26 Jun 2009 20:08:12 Z2009-06-26T20:08:12Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#266b6b6a-453e-4ee1-b562-198ceb945e88http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#266b6b6a-453e-4ee1-b562-198ceb945e88pl7626http://social.msdn.microsoft.com/Profile/en-US/?user=pl7626Disable all day event in Calendar listHi David,<br/><br/>When I tried the javascript, it didn't work on the Display form. I modified the script a little and now it works on all three forms (display, edit, new). Here's what I used:<br/><br/> <pre lang=x-js>&lt;script type=&quot;text/javascript&quot;&gt; function HideField(title){ var header_h3=document.getElementsByTagName(&quot;h3&quot;) ; for(var i = 0; i &lt;header_h3.length; i++) { var el = header_h3[i]; var foundField ; if(el.className==&quot;ms-standardheader&quot;) { for(var j=0; j&lt;el.childNodes.length; j++) { if(el.childNodes[j].innerHTML == title || el.childNodes[j].nodeValue == title) { var elRow = el.parentNode.parentNode ; elRow.style.display = &quot;none&quot;; //and hide the row foundField = true ; break; } } } if(foundField) break ; } } HideField(&quot;All Day Event&quot;); HideField(&quot;Recurrence&quot;) ; HideField(&quot;Workspace&quot;) ; &lt;/script&gt;</pre> Kyle,<br/><br/>I'm also interested to know how to recreate the forms in Sharepoint Designer. I'm new to Sharepoint Designer. Do you know of a specific article on creating these forms with the same look and feel as other pages in the site.<br/>Tue, 30 Jun 2009 17:05:02 Z2009-06-30T17:05:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#74443145-eebb-4c6b-a5d1-387e9a8c222chttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#74443145-eebb-4c6b-a5d1-387e9a8c222cDavid Lozzihttp://social.msdn.microsoft.com/Profile/en-US/?user=David%20LozziDisable all day event in Calendar listInteresting... this works for me on the display forms... Thanks for the update!<br/><br/><hr class="sig">David Lozzi<br/> <a href="http://www.delphi-ts.com?utm_source=MSDN">Delphi Technology Solutions</a><br/> <a href="http://www.delphi-ts.com/blogs/lozzi?utm_source=MSDN">Blog</a>  |  <a href="http://www.linkedin.com/in/davidlozzi">LinkedIn</a> | <a href="http://www.twitter.com/davidlozzi">Twitter</a>Tue, 30 Jun 2009 17:08:14 Z2009-06-30T17:08:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#ed811184-7211-42ad-9b0d-b6aedfaaf69dhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#ed811184-7211-42ad-9b0d-b6aedfaaf69dpl7626http://social.msdn.microsoft.com/Profile/en-US/?user=pl7626Disable all day event in Calendar listI guess a more simpler solution would be to create a custom list with appropriate fields (start date, end date, etc.) and then creating a calendar view. But You don't get the option to connect it to Outlook 2007. And, when creating a custom list, creating calender view won't give the option for &quot;All Event Event&quot;, &quot;Workspace&quot;. It also won't have the &quot;Recurrance&quot; functionality.<br/><br/>In my case, I don't need to (although I wanted to) connect it to Outlook 2007. I added some extra fields to the Calendar List, which doesn't appear in Outlook.Tue, 30 Jun 2009 17:20:07 Z2009-06-30T17:20:07Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#60decafa-0b60-46a4-ba34-7e52fe27a246http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#60decafa-0b60-46a4-ba34-7e52fe27a246sparkymark75http://social.msdn.microsoft.com/Profile/en-US/?user=sparkymark75Disable all day event in Calendar listIf it's a one-off administrative function, i.e the list is created and you simply want to hide the All Day Event field, you can download either SharePoint Manager (CodePlex) or WSS List Configurator (CodePlex) and use those to hide the field. You can even specify which forms to show it on or whether or not just to hide it full stop.Thu, 02 Jul 2009 22:46:19 Z2009-07-02T22:46:19Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#2e7b3d8f-0e9a-4c85-b7dc-0d7a6825da21http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/0ec4a7b9-7b23-4b26-9e7e-bb4ec3f10afe#2e7b3d8f-0e9a-4c85-b7dc-0d7a6825da21SP RAJhttp://social.msdn.microsoft.com/Profile/en-US/?user=SP%20RAJDisable all day event in Calendar listParvez, you can use <a title="Office Toolbox" href="http://officetoolbox.codeplex.com/" title="Office Toolbox">Office Toolbox</a> feature available on Codeplex, which allows site users to get greater control of your New/Edit/Display forms and their fields for show/hide and also field validations<br/> <br/> Hope this helps. <br/>Fri, 03 Jul 2009 12:46:05 Z2009-07-03T12:47:19Z