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
Money CareMoney Care 

How to put validation on custom button

Hi Guys
I have a challenge in my current job.that is i have created a vf page and custom button for open this vf page.now i will create a checkbox field in my custom object and requirment is when i click to custom button to open vf page the check box automatically checked.how it is possible ,is anybody have idea to resloving this challenge.

Thanks
ManojjenaManojjena
Hi Money Care,

As you have custom button ,convert to onclick javascript type if not .then write javascript to update the field .
Still you are  facing problem then post the Api name of object and field so that I wil help you to solve .

Thanks 
Mnaoj