I’ve used workflows before and I liked them up until I had logic that included a lot of different conditions, so now I’m rewriting the calculation in a custom PHP file. The way that I know about seeing if a checkbox is set uses javascript alongside with php, and I was wondering if there is a way to do it purely in PHP. this is my php file set-up. I’m not sure if checkbox values are easily accessible in Beans so there may be an easier answer than I thought.
if($bean->turnoffcalculation == ???){
//check ‘turnoffcalculation’ checkbox for if it’s selected
}