Hi,

i would like to have a web form, where users type in data in two or more text fields, based on their input,
results are displayed based on a formula, e.g Textfield 1 = x, Textfield 2 = y

so z is displayed based on a formula e.g. z = x square root y

regards

Cavin

Comments

quicksketch’s picture

Status: Active » Closed (fixed)

This is possible with the Additional Submit handling field, but support for writing custom code is not provided in the Webform issue queue. Check the handbook for examples: http://drupal.org/handbook/modules/webform/additional-validation.

lefnire’s picture

Version: » 7.x-3.x-dev

@mugarurac, old ticket, but I'm currently working on something similar for a client: http://drupal.org/sandbox/lefnire/1482626