title: Drupal Webform Preview Page: Adding Bullets on Conditional Elements (theming)
body: <p>There seems to be some kind of bug in webform or I'm doing it wrong. On the preview page of a webform, conditional based selections like checkboxes still display regardless of whether they are selected by the user or not. The code show in the source and a blank space will show if nothing is selected.</p>
  
  <p>I just created a test page with three select components (multiple select checkboxes with only one choice ) and placed component A checkbox (in a fieldset) is on the level above the other two that are within a fieldset as well.</p>
  
  <p>So for example,</p>
  
  <pre><code>Selection 'A' fieldset
  &gt;&gt; Selection 'A' checkbox
  &gt;&gt;&gt;&gt; Selection 'B' fieldset
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Selection 'B1' checkbox (separate component)
  &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Selection 'B2' checkbox (separate component)
  
  The conditional set is like so.
  IF: &gt;&gt; Selection 'A' checkbox is EMPTY
  THEN &gt;&gt;&gt;&gt; Selection 'B' fieldset
  ISNT SHOWN
  </code></pre>
  
  <p>The point of all this is that I need to place the selected options checkboxes in a bullet list but the bullets points still show on the preview page with out the words, even if those answers aren't selected. I added the bullets using css. I think the following code from this link might be on the right track but I'm not sure how to get it to work for the preview page.</p>
  
  <p><a href="https://www.drupal.org/node/79086" rel="nofollow">https://www.drupal.org/node/79086</a></p>
  
  <pre><code>function phptemplate_webform_form_50 ($form) {
   $form['submitted']['First Name']['#id'] = 'edit-submitted-first-name';
   $form['submitted']['Last Name']['#id'] = 'edit-submitted-last-name';
   $form['submitted']['Fluent in']['#id'] = 'edit-submitted-fluency';
   return _phptemplate_callback('webform_form_50', array('form' =&gt; $form));
  }
  </code></pre>