Title: Creating different Groups
Last modified: August 22, 2016

---

# Creating different Groups

 *  [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/creating-different-groups/)
 * Hi – I am creating a site for a networking organization. They have different 
   chapters. Am I able to create the chapters and then add the members in the chapter
   that they belong to. I want to display all the chapters and then when a chapter
   is clicked, all the members in the chapter are displayed. Thanks
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 15 replies - 16 through 30 (of 30 total)

[←](https://wordpress.org/support/topic/creating-different-groups/?output_format=md)
[1](https://wordpress.org/support/topic/creating-different-groups/?output_format=md)
2

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591272)
 * With the total shortcode, you use the “filter” attribute (which works the same
   as for the list shortcode) to determine which records are included in the count.
 * For your second question, how you approach this depends on what you expect to
   be present in the record that indicates there is no accountant. In other words,
   what exactly would you be looking for?
 * For instance, if there was a field named “accountant” where a name would be saved
   if there was an accountant, you could show all the records that have nothing 
   stored in the “accountant” field with this:
 * `[pdb_list filter="accountant="]`
 * What that means is “find all records where the accountant field is equal to no
   value” This is explained where list filtering is explained on the Other Notes
   page.
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591276)
 * Thanks – the total shortcode with the filter worked great.
 * For the second questions, I would like a drop down list where they choose an 
   industry and I give back all the chapter that don’t have that industry.
    Thanks
   and Happy New Year!
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591277)
 * Oh, I see, were talking about a user search? That will be more difficult, it 
   will entail building a custom search control for the list display. The plugin
   doesn’t have something like that built in.
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591278)
 * How would it work if I used the code above. Would this give me all the chapters
   that don’t have an accountant. Do you have a link to the “other notes page”. 
   Thanks
 * “For instance, if there was a field named “accountant” where a name would be 
   saved if there was an accountant, you could show all the records that have nothing
   stored in the “accountant” field with this:
 * [pdb_list filter=”accountant=”]
 * What that means is “find all records where the accountant field is equal to no
   value” This is explained where list filtering is explained on the Other Notes
   page”
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591284)
 * The [Other Notes](https://wordpress.org/plugins/participants-database/other_notes/)
   page is here on WordPress.org
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591292)
 * Hi – I went through the other notes section. Instead of having a dropdown could
   I have a user key in an industry and then use this value in the filter to show
   chapters without this industry. (industry is a field in the database). In my 
   old system , I had orginally coded this as a subselect. Could I add this custom
   code in.
    Thanks
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591294)
 * OK, to do this kind of thing, you need to create a custom search function. This
   is, unfortunately, not well documented at this point, mostly because I am preparing
   a major release of the plugin that offers new methods for creating custom search
   controls. I am waiting until this is released before I document the process of
   creating you own custom search function.
 * If you are a coder, have a look at the [Plugin API](http://xnau.com/work/wordpress-plugins/participants-database/participants-database-1-5-api/),
   it will give you the methods currently available to implement your custom search
   controls.
 * If you want to contact me about doing some custom coding work, email me at [support@xnau.com](https://wordpress.org/support/topic/creating-different-groups/page/2/support@xnau.com?output_format=md)
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591296)
 * Ok – thanks. Should I wait for the new release. Will it let me do this search
   easier?
 * On my listing page I want to display a bio. Right now the field is small and 
   it is scrollable. Is there a way to increase the size of this field and decrease
   another field.
    Thanks
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591297)
 * Also is there a way to display a field on one listing but not the other. On the
   region listing I need to display chapter name but on the chapter listing page,
   I don’t have to display the chapter name since it is only displaying that particular
   chapter.
 * If you need help in testing the new version of the plugin I would be happy to
   help
    Thanks
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591298)
 * Unless you’re really not in a hurry, I wouldn’t recommend you wait…it will be
   several weeks before the new version comes out.
 * To control the width of a table columns, you can usually just set the width of
   the header row cell for that column, Doesn’t always work, though, because table
   cells will expand according to their content. The “bio” field gets around this
   by wrapping the text in another element that is sized. That gives it the scroll.
 * If you’re interested in testing the beta, send me an email: [support@xnau.com](https://wordpress.org/support/topic/creating-different-groups/page/2/support@xnau.com?output_format=md)
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591305)
 * Thanks – I will look through the API. Is having the feature to searching for 
   chapters that don’t have a particular industry something that can be done. When
   I orginally coded it I used a subselect.
 * Also for the search I have now on industy I would like to create a drop down.
   When I created the dropdown for the chapters I just keyed them in with commas
   separated them since is was only 30 of them. I have a few hundred industries –
   is there a quick way to cut and paste them.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591306)
 * What I do is use a spreadsheet to lay out all the values and titles in columns,
   and add a third column that concatenates them so you have a “title::value” for
   each one. Then I copy that column and paste it into a text editor. Replace the
   line returns with a comma and you’ve got your massive string to paste into the
   values field.
 * The nice thing about the spreadsheet is it allows you to maintain a huge list
   of options easily. Save it as a backup in case the field options setting gets
   borked.
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591307)
 * Thanks – I got industry values in as a dropdown.
    When I do a search how can 
   I get the dropdown to display so they can pick an industry instead of typing 
   it in
 *  Thread Starter [hidesignwp](https://wordpress.org/support/users/hidesignwp/)
 * (@hidesignwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591308)
 * I was going through the APIs. I’m not sure where to begin to set it up so a person
   can search for chapters that have an opening in a particular field. Which one
   should I use. How much would the cost be if I had you do this. Thanks
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591309)
 * OK, I believe we’re discussing thing via email at this point, so I’ll answer 
   your questions that way.

Viewing 15 replies - 16 through 30 (of 30 total)

[←](https://wordpress.org/support/topic/creating-different-groups/?output_format=md)
[1](https://wordpress.org/support/topic/creating-different-groups/?output_format=md)
2

The topic ‘Creating different Groups’ 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/)

 * 30 replies
 * 2 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/creating-different-groups/page/2/#post-5591309)
 * Status: not resolved