Skip to main content
Topic: use if in the expression field (Read 2358 times) previous topic - next topic

use if in the expression field

Hello, can anyone help me how to use the if condition in the field expression in the custom field editor, I'm using phprad version 2.7.3
example :

if a > b then
c = a + b
else
c = a - b

how to use if in field expression how, I'm a beginner. Thank You