I just installed a Weboform Conditional module as per @PreritMohan recommendation.

Is there a way to make Textfield, textarea, select option, email, number, date, file types Collapsed by Default ?

I am running Drupal 7.19, webform 7.x-3.18 and webform_conditional 7.x-1.0-beta1

Also, what values should I put in the Options text area? (Key-value pairs MUST be specified as "safe_key|Some readable option". Use of only alphanumeric characters and underscores is recommended in keys. One option per line. Option groups may be specified with . <> can be used to insert items at the root of the menu after specifying a group.)

SImilarly, what should I put in the Values field under the Conditional Rules section? (List values, one per line, that will trigger this action. If you leave this blank, this component will always display.)

  • If you don't understand the module's documentation, file a support request in the module's issue queue. Feb 19, 2013 at 0:28
  • Thanks @PatrickKenny I've tried that in the past but have never received a response...
    – kine456
    Feb 19, 2013 at 0:48
  • Well, Drupal maintainers have a lot to do, and they volunteer their time to provide support; a lot of times, you just need to do what you can to figure it out yourself. In this case, though, the module's project page states that the author is willing to provide Drupal consulting services for a fee; that's one option you can try. Feb 19, 2013 at 4:05

1 Answer 1


Firstly, let me recommend you use Weform 7.x-4.0-alpha6. It has conditionals built into it. Webform Conditional is a great module but I had problems with it.

Options, for select components, take the following format:


The in-built webforms conditionals are very simple and intuitive. Just add a condition and it will display an interface enabling you to hide/show a component when another component is/is-not a certain value.

  • Thank you @sisko Will webform conditional enable me to hide all the form elements until the very first checkbox is selected? Or can it only hide certain element types?
    – kine456
    Feb 19, 2013 at 22:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.