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
Chandralekha Manoharan 7Chandralekha Manoharan 7 

I want to call a visualforce page from a button of data type formula from the detail of a record and disable it after clicking..How it can be done?

MagulanDuraipandianMagulanDuraipandian
1. Create a formula field of data type text in the object.
2. Add the field to the page layout.
3. Use formula like below

IF( City == 'ABC', HYPERLINK( '/apex/Sample', 'VFLink') , '' )

--
Magulan Duraipandian
www.infallibletechie.com