+ Start a Discussion
appiappi 

custom button

Hi All,

 

I have created a custom button on the opportunity object which  I need to autopopulate some certain fields.

 

All is working however I am really struggling to insert close date (which we want to autopopulate with today). 

 

 

Please any ponters would be helpful

 

Regards

kiranmutturukiranmutturu

here you have to indentify the control id of that close date field and set that value in the button code itself.

sravusravu

Are you using apex controller for the logic or javascript.

 

1. If you are using apex controller, in the constructor you can set the default value for the Close Date.