Visualforce Date Popup

Apr 10, 2017 | Visualforce

Written By

If you work with Visualforce and the first field on your page is a date you’ll notice that when the page loads it’ll automatically open the date picker which is often not desirable. To fix this simply place this Javascript on your page:

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

Written By

undefined

You Might Also Like

Visualforce PageMessage Samples

I can never remember what the different Visualforce page message options look like between the severity and strength so here are the options along with the code. <apex:page title="Visualforce pageMessage Samples"> <apex:form > <apex:pageMessage title="Message...

read more

0 Comments