I'm trying to add a load calculator to a site I built a while ago.

I figure I need to use php in a markup field to perform a calculation on a regular field. I would like the result of the calculation to be included in the email but there is no checkbox to include markup field in the email.

Am I heading in the right direction? Is this possible? Any pointers?

Cheers
Simon

Comments

quicksketch’s picture

Status: Active » Closed (fixed)

Support for writing custom PHP code is not provided in the Webform issue queue. If your calculator creates a value, you should use JavaScript to set the value of a hidden or textfield to the result, so it shows up in e-mails and results.