Im using ubercart + cck atrribute, this show me the fields but not working the conditional script (not load settings and conditional_fields.js)

any fix?

CommentFileSizeAuthor
#4 conditional-fields-t-shirts.jpg97.01 KBsindbad
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hacmx’s picture

any suggest?

drupalnesia’s picture

Please more detail, which field act as controller and controlled? Which attribute do you use?

gregaltuna’s picture

I'm having the same issue. I have a field where the user picks the "number of subscriptions" they'd like to subscribe to, then a conditional field with qty allowed restrictions based on the number they picked is supposed to display.

What happens in my page, however, is that the "number of subscriptions" field displays AND all the subsequent conditional fields display.

Anyone know how to fix this, or possibly provide a different method for achieving the same?

sindbad’s picture

I have the same issue but let me explain....

Example: let's say that I sell personalised T-Shirts. On every T-Shirt it must be a text. I want to give the possibilty to the client choose one of the predefined texts, modify it or enter his own text.

The problem is in the product page I see all the predefined texts. I think javascript is no working to hide / show the texts (when I'm testing the article from Add Content it's working fine).

Is there any solution to this?

EDIT: I looked better and the javascript (conditional_fields.js) is not loaded.

peterpoe’s picture

Issue summary: View changes
Status: Active » Closed (outdated)