Is there an equivalent of the CCK Computed Field for Webforms? I.e. somethere where you can have a Webform component's content created from the values of the other Webform components (or have a CCK field created from the values of the other Webform components).

Alternatively, will an existing CCK Computed field be able to use Webform component values in the PHP code for the CCK Computed field?

Comments

quicksketch’s picture

I have not personally seen such a module, though I've seen several users manually implement such functionality through hook_form_alter() in a custom module.

amysragbag’s picture

Subscribing. I'm interested in this too. The hook_form_alter thing is a little over my head, I think.

grguth’s picture

Subscribing

hagit’s picture

subscribing

vernond’s picture

I've made a start at achieving some kind of computed field ability via a custom component. It offers three methods to obtain a calculated value:
* switch-case
* standalone calculation
* one of two calculations via an if-else-then structure

There is no support currently for select multiple or grids because I just cannot figure out how to deal with them and their many possibilities adequately. Any insight, hints, tips, suggestions or recommendations that point towards a resolution of these exceptions will be greatly appreciated.

Give it a try and please let me know how you think it could be improved.

See http://drupal.org/node/1251902#comment-4922646

quicksketch’s picture

Status: Active » Closed (fixed)