[ad_1]
Hello @helloplanetat
Thank you very much for using our plugin. I don’t know the values you want to sum in “Then add the two values together”. But if you are referring to summing the min_value/2+max_value
Assuming the input fields in your form are:
Elevation gain, fieldname1
Distance, fieldname2
And the equation in the calculated field:
(function(){
let v1 = fieldname1/300,
v2 = fieldname2/3;
return MIN(v1,v2)/2+MAX(v1,v2);
})()
However, if you are referring to min_value/2+min_value, the equation would be:
MIN(fieldname1/300,fieldname2/3)*1.5Best regards.
