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
BC-BARTBC-BART 

Custom Button code

Hi,

Hope someone will help me with this,

I have a custom button that pulls field data into a form but want to add some logic that requires certain fields be populated on the page layout before the button will execute.

 

Thank You

 

Brian

nylonnylon

Hi,

Have you tried OnClick JavaScript for custom button content source?

http://www.interactiveties.com/b_execute_javascript_button.php

_Prasu__Prasu_

Can you post your exsiting code here? Also provide some more details on your requirements

S PraveenS Praveen

Hi

 

I think u can use the ApexPages.currentPage().get('ID'); by this u can get all the values from current page by passing id of that record.

 

Regards,

Praveen Sappati