vipzeus
Member
in my form i have a calc element where at begin my fields are empty and calc element does not work as well.
how i can use a validation if elements of dependi for calculation are empty ?
Code:
//Consumi
$consumi_f0 = '{simulatore___consumo_f0}';
$consumi_f1 = '{simulatore___consumi_f1}';
$consumi_f2 = '{simulatore___consumi_f2}';
$consumi_f3 = '{simulatore___consumi_f3}';
//Chiama il costo
$ccv = {simulatore};
return($ccv_label . ' : ' . $ccv .' ' .'Euro'.' </br> '. $kh_f0_label. ' : ' .$spesa_bio).' ' .'Euro';
how i can use a validation if elements of dependi for calculation are empty ?
Last edited: