I have now successfully updated the Webform module from 6.x-3.0-beta2 to Webform 6.x-3.0-beta4 and Webform PHP 6.x-3.x-dev (2010-Mar-27). The content of my "Additional validation" field got refilled. Fine.
So far, I only see a small glitch: on top of the "Additional PHP processing" fieldset the following message is printed:
"PHP may be used to add additional functionality to your form. Enter code below, wrapped in <?php ?> tags. The code must start with <?php in order to be executed. The following variables are available in both fields.".
However, there are no "following variables".
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_php_variables.patch | 1.46 KB | quicksketch |
Comments
Comment #1
quicksketchThanks, I meant to describe $node and $form_state there. :-)
Fixed with the attached patch.
Comment #2
roball commentedYes, the 6.x-3.x-dev (2010-Apr-08) version of the Webform PHP module seems complete. I have tested it successfully using the same PHP validation code as where the module code has been integrated into Webform core 6.x-3.x-dev versions.
So I think this module can be "released" to get rid of its dev state.