function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JoyDJoyD 

way to stop Date popup on Events???

Is there a way to STOP the annoying auto-popup of the calendar picker for the Date field on the Events (Activities)?  I'd LOVE to turn it off on my Visualforce pages, but can't seem to do so.

Best Answer chosen by Admin (Salesforce Developers) 
kiranmutturukiranmutturu

just place the script

<script>

function setFoucsOnLoad(){}

</script>

All Answers

Shashikant SharmaShashikant Sharma

I think your date field is the first field on you VFP so the default focus is set on this that's why it is coming. Just change the order of date field or in javascript change focus to some other control.

let me know if any issue in it.

kiranmutturukiranmutturu

just place the script

<script>

function setFoucsOnLoad(){}

</script>

This was selected as the best answer
JoyDJoyD

Fabulous, I just stuck 

<script>
function setFocusOnLoad(){}
</script>

 after my <apex:page> line, and that seems to fix it!  Thanks!  (also note spelling on Focus)