Auto Field Calculation
Posted: 2015-07-06 15:15
Hi. I've recently purchased AppGini for our Charity and would like some help understanding how to ADD several FIELDs together in order to show the total in a separate FIELD.
Example:
FIELD4 = FIELD1 + FIELD2 + FIELD3
I'm using version 5.41. I'm not an expert so any help would be appreciated.
The dml files reads like this..
$data['FIELD4] = makeSafe($_POST['FIELD4']);
if($data['FIELD4'] == empty_lookup_value){ $data['FIELD4'] = ''; }
Example:
FIELD4 = FIELD1 + FIELD2 + FIELD3
I'm using version 5.41. I'm not an expert so any help would be appreciated.
The dml files reads like this..
$data['FIELD4] = makeSafe($_POST['FIELD4']);
if($data['FIELD4'] == empty_lookup_value){ $data['FIELD4'] = ''; }