Comments on: jQuery to the Rescue – Automate All Day Event http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/ Immediate Solutions for Everyday Business Problems Tue, 24 Nov 2009 17:20:26 -0700 http://wordpress.org/?v=2.8.4 hourly 1 By: AJ http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-19665 AJ Mon, 23 Nov 2009 05:20:40 +0000 http://www.endusersharepoint.com/?p=1797#comment-19665 Everything works great on DispForm.aspx and NewForm.aspx, but I'm having a problem with the Page Editing Toolbar persisting when I modify EditForm.aspx using the &PageView=Shared&ToolPaneView=2 method. The only other reference I've seen to this issue is here: http://social.msdn.microsoft.com/Forums/en-CA/sharepointcustomization/thread/e10ad027-c28a-43ab-8b48-bb02dc3ca782 Any help would be greatly appreciated. I've spent quite a few hours researching this issue and it's a bit frustrating b/c it works so beautifully on NewForm.aspx and DispForm.aspx. Cheers, AJ Everything works great on DispForm.aspx and NewForm.aspx, but I’m having a problem with the Page Editing Toolbar persisting when I modify EditForm.aspx using the &PageView=Shared&ToolPaneView=2 method.

The only other reference I’ve seen to this issue is here: http://social.msdn.microsoft.com/Forums/en-CA/sharepointcustomization/thread/e10ad027-c28a-43ab-8b48-bb02dc3ca782

Any help would be greatly appreciated. I’ve spent quite a few hours researching this issue and it’s a bit frustrating b/c it works so beautifully on NewForm.aspx and DispForm.aspx.

Cheers,

AJ

]]>
By: Paul http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-18025 Paul Wed, 14 Oct 2009 14:45:55 +0000 http://www.endusersharepoint.com/?p=1797#comment-18025 This is the first thing I tried. From what I can see once I deselect it will do so but the Jquery script will run again immediately after and it will populate the box with a check box. Wouldn't the line above just control whether the All Day Event Appears? What about behavior of the check attribute? This is the first thing I tried. From what I can see once I deselect it will do so but the Jquery script will run again immediately after and it will populate the box with a check box. Wouldn’t the line above just control whether the All Day Event Appears? What about behavior of the check attribute?

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-18023 Jim Bob Howard Wed, 14 Oct 2009 14:22:48 +0000 http://www.endusersharepoint.com/?p=1797#comment-18023 Hey Paul, Just remove the line that hides it. `$('tr:has(span[title=All Day Event])').not('tr:has(tr)').hide();` That should allow the user to uncheck it. Blessings, Jim Bob Hey Paul,

Just remove the line that hides it.

`$(’tr:has(span[title=All Day Event])’).not(’tr:has(tr)’).hide();`

That should allow the user to uncheck it.

Blessings,
Jim Bob

]]>
By: Paul http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-18022 Paul Wed, 14 Oct 2009 14:16:12 +0000 http://www.endusersharepoint.com/?p=1797#comment-18022 Jim, This is great. However, the requirement is to have the All Day Event appear on the newform.aspx with the All Day Event box checked as this jquery will assist with. How can we modify so the user can deselect if need be? Right now it stay's checked and you can unselect the check box. Any assistance appreciated. Jim,

This is great. However, the requirement is to have the All Day Event appear on the newform.aspx with the All Day Event box checked as this jquery will assist with. How can we modify so the user can deselect if need be? Right now it stay’s checked and you can unselect the check box.

Any assistance appreciated.

]]>
By: Garet http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-17905 Garet Fri, 09 Oct 2009 04:06:56 +0000 http://www.endusersharepoint.com/?p=1797#comment-17905 Wow! This is my first exposure to jquery... and... Wow! Does it support regular expression work? This might be a way to segregate the time portion on the display form and kills it. Wow! This is my first exposure to jquery… and… Wow!

Does it support regular expression work? This might be a way to segregate the time portion on the display form and kills it.

]]>
By: Tom http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-17585 Tom Wed, 30 Sep 2009 14:06:14 +0000 http://www.endusersharepoint.com/?p=1797#comment-17585 Ryan, this looks like what I've been struggling to find. I'll give it a try. However, when I last tried to change the End Time to a new calculated time the workflow did not see in its menu areas the End Time. I'll look again. Ryan, this looks like what I’ve been struggling to find. I’ll give it a try. However, when I last tried to change the End Time to a new calculated time the workflow did not see in its menu areas the End Time. I’ll look again.

]]>
By: Ryan http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-17581 Ryan Wed, 30 Sep 2009 13:18:22 +0000 http://www.endusersharepoint.com/?p=1797#comment-17581 @Tom - not sure if this will help you but I've used a similar technique (JavaScript in CEWP) to set he default duration (EndTime = StartTime + 1.5 hours) http://blog.pentalogic.net/2009/09/setting-default-duration-for-new-calender-events/ @Tom – not sure if this will help you but I’ve used a similar technique (JavaScript in CEWP) to set he default duration (EndTime = StartTime + 1.5 hours)

http://blog.pentalogic.net/2009/09/setting-default-duration-for-new-calender-events/

]]>
By: Sam http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-15542 Sam Sat, 01 Aug 2009 13:54:58 +0000 http://www.endusersharepoint.com/?p=1797#comment-15542 Hi Jim Bob, You can hide a number of the columns permanently by editing the list settings, advanced settings, and changing allow management of content types to yes. Return to your list settings and then click on the content type (event, item, etc..), from there you will be able to edit properties such as required, optional, and hidden. That recurrance and workspace hiding code is a godsend though because for the life of me I can't get those columns hidden! Hi Jim Bob,

You can hide a number of the columns permanently by editing the list settings, advanced settings, and changing allow management of content types to yes. Return to your list settings and then click on the content type (event, item, etc..), from there you will be able to edit properties such as required, optional, and hidden. That recurrance and workspace hiding code is a godsend though because for the life of me I can’t get those columns hidden!

]]>
By: jQuery to the Rescue - Default Text Based on Radio Button Click | End User SharePoint http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-15250 jQuery to the Rescue - Default Text Based on Radio Button Click | End User SharePoint Fri, 24 Jul 2009 18:01:20 +0000 http://www.endusersharepoint.com/?p=1797#comment-15250 [...] moot. But rather than trying to manipulate the “requiredness” (a term I coined in my last jQuery article) of the textbox, I wanted to fill in “N/A” for them on the rare and happy occasion they [...] [...] moot. But rather than trying to manipulate the “requiredness” (a term I coined in my last jQuery article) of the textbox, I wanted to fill in “N/A” for them on the rare and happy occasion they [...]

]]>
By: Tom http://www.endusersharepoint.com/2009/07/06/jquery-to-the-rescue-automate-all-day-event/comment-page-1/#comment-15005 Tom Mon, 20 Jul 2009 14:26:14 +0000 http://www.endusersharepoint.com/?p=1797#comment-15005 Jim Bob Howard, You said in the script above: "So, I hid the End Time and set up a workflow to copy the Start Time into the End Time on create. Since it defaults to [Today], its “requiredness” is satisfied by default". Can you share how the workflow is set up to copy the start time into the End Time? I want to something similar - copy a calculated field into the end time via a work flow. Any hepl would be greatly appreciated, Jim Bob. Jim Bob Howard,
You said in the script above:
“So, I hid the End Time and set up a workflow to copy the Start Time into the End Time on create. Since it defaults to [Today], its “requiredness” is satisfied by default”.

Can you share how the workflow is set up to copy the start time into the End Time? I want to something similar – copy a calculated field into the end time via a work flow.

Any hepl would be greatly appreciated, Jim Bob.

]]>