HJB 8/10/2018 | |
Custom format via "View as" settings in Visual Editor |
A
|
andreasc author 8/10/2018 |
Custom format via "View as" settings in Visual Editor quote global $data; if ($data["amount"]=="Expense") $value = $value * (-1);
|
HJB 8/10/2018 | |
Thanks for your reply I apologize for not correctly explaining my problem. I have 2 fields 1.type 2.amount forget to say that [Income]&[Expense] are options of [type] field so if Expense option is selected on [type] field then value of [amount] field must post as negative value Thanks
|
A
|
andreasc author 8/10/2018 |
no there are 2 fields |