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
padmaja shivane 4padmaja shivane 4 

how to write if else query for checkbox in apex

hi ,

am creating checkbox in vf and now i want to write if else statement with checkbox enable and disable plz give me the solution
padmaja shivane 4padmaja shivane 4
this link  not giving proper solution can you suggest another solution
Anoop yadavAnoop yadav
What is your condition for enabling and desabling the checkbox.
See the below link.
Waqar Hussain SFWaqar Hussain SF
If (checkBox==true){
   // do some logic here
}elseif (checkBox==false){
   // do some more logic here

please let me know if it works
padmaja shivane 4padmaja shivane 4
am attached my file i.e vf plz can you tell me how to write my code

here is the 4 checkbox when i clicked on resolve incident then must be resolve original as well as related link incident also plz help meUser-added image