PHPRad Classic Initial 2.7.3 Forum

PHPRad Forum => Questions => Topic started by: Rachman on June 22, 2023, 12:13:32 PM

Title: use if in the expression field
Post by: Rachman on June 22, 2023, 12:13:32 PM
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