Title: Second table
Last modified: January 1, 2019

---

# Second table

 *  [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/)
 * Dear developer can I create 2 tables in the plugin?
    I have 2 pages, 1 stores
   the table with “red” users, and 2 with “blue”, also for blue and red two different
   forms of addition which are absolutely different and have no similarity. but 
   when one of the red or blue adds an entry, the page displays an empty line and
   it does not look nice

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11042187)
 * It’s not possible to set up a second completely different database, but you can
   have your two types share the database if you set it up properly. This article
   explains how that can be done.
 * [“Multiple Databases” with Participants Database](https://xnau.com/multiple-databases-with-participants-database/)
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11049835)
 * Xnau, I read your documentation.
    The problem is that I don’t use a shortcode
   like “[pdb_signup groups=”common,red”]”, but only like “[pdb_signup groups=”red”]”.
   Why do you have two square brackets?
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11049844)
 * I have a page of Red appear an empty string, was blue.
    If I create a plugin-
   addition to yours, which will create in the database wp_participants_database_1?
   is it difficult or possible it will be normal to implement? I have knowledge 
   of php and sql with wpdb
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11050802)
 * It is not possible to have more that one database, but it is possible to simulate
   it of you use field groups, as explained in the article I linked. The example
   in there is just meant to show you one way to do it. Your setup will be different.
   There is no reason why you cannot use completely separate groups for each form.
 * [pdb_signup groups=”red”]
 * [pdb_signup groups=”blue”]
 * no problem.
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11052852)
 * There is a problem. You know, you CREATE empty posts on pages with red ones when
   you fill out a form with blue ones.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11053020)
 * This is explained in the article I linked: you must set up your list shortcode
   to only show the red or blue records. This is done using a filter in the list
   shortcode.
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11053391)
 * Okay, look – it is shortcode of group “add_transport” – add – [pdb_signup = bootstrap
   groups = “add_transport”], unhide – [pdb_list template=bootstrap groups=”add_transport”
   search = true]
    it is shortcode of group “main” – add – [pdb_signup = bootstrap
   groups = “main”], unhide – [pdb_list template=bootstrap groups=”main” search 
   = true] What’s wrong?
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11055579)
 * For the list display, you need to use a “filter” to filter out the ones you don’t
   want to show in that list. To do that, you need to look at some value in the 
   submission that tells you which type of record it is…for example, lets say you
   have a field named “type” that has a value that tells you what type of submission
   it is. (in the article this is filled in with the name of the page the signup
   form is on)
    Then, for the “add_transport” group, you might use something like
   this:
 * [pdb_list filter=”type=transport”]
 * then your other one could be
 * [pdb_list filter=”type=main”]
 * You’ll have to adapt that to your particular situation, but that is the general
   idea.
 * Details on how to use list shortcode filters can be found here: [List Shortcode Filters](https://xnau.com/work/wordpress-plugins/participants-database/participants-database-documentation/list-shortcode-filters/)
    -  This reply was modified 7 years, 4 months ago by [xnau webdesign](https://wordpress.org/support/users/xnau/).
 *  Thread Starter [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * (@vipplayer)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11057216)
 * Thank you very much, i understood!
    Tell me, if I buy your plug-in addition to
   the Date, can I configure the user to put the value in the form of y-m-d?

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

The topic ‘Second table’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [vipplayer](https://wordpress.org/support/users/vipplayer/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/second-table-2/#post-11057216)
 * Status: not resolved