|   | Sergey Kornilov admin 12/30/2021 | 
| I see you are struggling with the basic IF syntax. Here are a couple of examples: Single condition: Note the use of == instead of = . This is extremely important. Multiple conditions: | |
| D | Dynamiccomp author 12/30/2021 | 
| Thank you for you help with that, as I didn't realize I had made that mistake. It works, however if I have a calculation in the events page, or a SQL query for that field, the if statement doesn't get applied. Do you know how I can solve this issue? For example my if statement: if ($values['Eliminated'] == 'on' || $values['Scratched'] == 'on' || $values['Withdrew'] == 'on') {In my before record update event page I have: $values['Final Rank'] = $values['Total'] / $values['competitors'];or if i put the following in the SQL query: FIND_IN_SET(`Final Total`, (my If statement above doesn't get applied. is there a way to override the calculation or the SQL query with my if statement? | |