Title: Problems with multiple fields being displayed
Last modified: March 24, 2019

---

# Problems with multiple fields being displayed

 *  Resolved [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/)
 * I want to give my members the option to sell a few items through the website.
   At present I’ve restricted this to 3 items per member on account of the PDB file
   structure.
 * I’ve created 3 groups within PDB. Within group 1 I have the fields photo_1, details_1,
   price_1 within group 2 I have photo_2, details_2, price_2 and so on.
 * Everything works great, I have the flexbox template working for me and I have
   created links by passing parameters through the URL, but I have one small problem.
 * I list out my items using
    [pdb_list template=”flexbox” fields=”photo_1,summary_1,
   price_1,photo_2,summary_2,price_2,photo+3,summary_3,price_3″]
 * When it lists the items it lists all the empty fields too and I get the ‘No Image’
   logo for the empty fields. Of course if I restricted this to 1 item per person
   it would be easy, but I thought 3 items would be a better option if I can get
   it to work.Other than the problem I describe, everything works fine.
 * I’ve played around with the filters but haven’t found one that works. Basically
   how can I stop the empty fields being displayed?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/#post-11348724)
 * This gets covered here from time to time, but the answer is there is a classname
   on empty field displays that you can use to hide it.
 * For example, on the single record display, you can use:
 *     ```
       .pdb-single .blank-field {
          display:none;
       }
       ```
   
 * For other display, you can look at the HTML to see how you can do something similar.
 * If you don’t want to see the default image for image fields that have nothing
   uploaded, you can do that also with CSS or you can blank out the “default image
   path” setting so no default image is used at all.
 *  Thread Starter [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/#post-11349516)
 * I added the code you suggested to my theme css but it made no difference.I am
   using the shortcode pdb_list with the template=”flexbox”
 * This is a link so you can see what I’m talking about [https://boatsrus.co/market/view-all-adverts/](https://boatsrus.co/market/view-all-adverts/)
 * I’ve used web inspector but I can’t see anything to hook it on to so I’m stuck
   at the moment.
 * Thank you
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/#post-11350042)
 * The flexbox template does not normally show fields that don’t have a value, so
   you should not need to try to hide them in that case. Something else is going
   on…have you checked the HTML to see if the field is really empty?
 *  Thread Starter [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/#post-11353192)
 * I’ve gone back to providing just 1 sale item for each member which overcomes 
   the problem I’ve highlighted.
 * Thanks for help

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problems with multiple fields being displayed’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [supernova42](https://wordpress.org/support/users/supernova42/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/problems-with-multiple-fields-being-displayed/#post-11353192)
 * Status: resolved