Title: Some Fields not Rendering
Last modified: November 29, 2016

---

# Some Fields not Rendering

 *  Resolved [peterbreen](https://wordpress.org/support/users/peterbreen/)
 * (@peterbreen)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/some-fields-not-rendering/)
 * I’m trying to render a list of names/organizations of people who have signed 
   a petition. For some reason, some of the fields from the database are rendering
   and some aren’t. The “organization” variable is displaying in plain text. There
   is also an “alum” variable that should be a class on the
    -  element.
       I can’t figure out the mistake in my code. My site is live at [mnacademics.seiudev.org/community-suppport](http://mnacademics.seiudev.org/community-support).
      For demonstration purposes, I output all of my data from this form with [cfdb-
      datatable]. I’m then using [cfdb-html] to render the list. I’ve used this 
      method on other lists and haven’t had problems.
    - Here’s the PHP from the backend
    -     ```
          <?php
          function community_list( $atts ){
      
          ?>
          <ul class='community-list'>
      
          	<?php 
          	echo do_shortcode('[cfdb-datatable form="Community Support"]');
      
          	echo do_shortcode(
          		'[cfdb-html 
      
          		form="Community Support" show="first-name,last-name, organization, alum" orderby="Submitted desc"]' .
      
          		'<li class="alum-${alum}"> ${first-name} ${last-name}, ${organization} </li>' .
      
          		'[/cfdb-html]'
      
          		);
          	?>
          </ul>
          <?php
          }
      
          add_shortcode( 'community_list', 'community_list' );
          ?>
          ```
      

The topic ‘Some Fields not Rendering’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [peterbreen](https://wordpress.org/support/users/peterbreen/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/some-fields-not-rendering/)
 * Status: resolved