!! I will use other values as example !!
I need to create a form with 3 numeric values.
If the values from field1 and field2 together are
- less then 10 it should do a sum of $totalvalue*2,4
- more then 10 but less then 15 it should do a sum of $totalvalue*3,8
- more then 20 it should do a sum of $totalvalue*5
Then after the sum has been done there is to be a sum of $resultofsum+$field3
This will get a $result with the total of the sum which will be displayed as result on submitting the form. There will be no mail sent, just making above sums
Can I do this with eForm? Or is there a better way to do this?
I think I need a action in eForm which calls a php code with a if or switch-statement to return the right value.