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
renurenu 

Automatic selection of Checkbox

Hi all.......any suggestions????
 
I have two fields which are of data type checkbox on a custom object. Upon selection of one check box the other one should be automatically selected. Is there any way in SFDC to solve this issue.
 
Ex: Status and In-Process are two fields upon selection of Status ,In-process should be selected.
 
I tried this using Trigger , but the problem with that is the trigger fires only when i press save button.
But i need this immediately upon selection of status.
virago81virago81

Renu,

I don't believe there's a way to do this in the standard (non-VisualForce) client.

I think the best you can do is use the trigger on Save and then the user will see both boxes checked after the Save.

Carl_V1Carl_V1
Question - why the need for the two checkboxes if one is to be a realtime mirror of the other?...
renurenu

sorry....i was for late ...here we go....

we had a requirement where we need the information based on these two. like there are situtations where only the second one can be selected in that case the first one is not necessary (we do not want the data of the first checkbox). hope you got it!!!!

 

DS777DS777
use javascript