Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Same page conditionals work using Webform 4 (hooray). However, it does not work for a Commerce Webform select list (http://drupal.org/project/commerce_webform). It looks like perhaps the field is not recognized as a select list/checkbox/radio. The only difference I see compared to another checkbox select list is there is an additional wrapper for the field plus a few hidden inputs (within the additional wrapper). The entire field looks like the following:
<div class="commerce_webform_products">
<div class="form-item webform-component webform-component-select" id="webform-component-membership--0">
<select id="edit-submitted-membership-0" name="submitted[membership][0]" size="0" class="form-select required"><option value="7" selected="selected">Lifetime Membership Individual [$20.00]</option><option value="9">Lifetime Membership Family [$30.00]</option><option value="8">Lifetime Membership Organization [$50.00]</option></select>
</div>
<input type="hidden" name="commerce_webform_product[7]" value="2000">
<input type="hidden" name="commerce_webform_product[9]" value="3000">
<input type="hidden" name="commerce_webform_product[8]" value="5000">
</div>
Any ideas?
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedMoving to the commerce webform issue queue. Also suggest you re-test with the lastest, nearly-stable webform 7.x-4.x-dev.
Comment #2
johnennew CreditAttribution: johnennew at Deeson commentedI believe this is working as it should be so closing this for now.