• Hello,

    First off, great plugin! Currently I have the signup and listing page working properly. I check boxes (say A B C D E) that a person can enter on the signup page. They are all under one field and I am using the multi-check box option. I would like to make it so it is possible to search and sort by using checkboxes for number of occurrences for say A and B. Sorry for the clarity of the question, it is kind of hard to explain.

    https://www.ads-software.com/plugins/participants-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    It certainly is possible to create a custom search function, with a combination of a custom template to display the search function, and a call back function to add the search to the database query. Check out the plugin API for information on using the plugin filters: Participants Database 1.5 API

    Thread Starter Michael Vieth

    (@mavieth)

    Thanks! I have looked through the API over the past couple days to no avail. How would I be able to count the comma separated values in a field? Sorting is not really an issue as it is fairly easy given the list_sort implementation you provided.

    Plugin Author xnau webdesign

    (@xnau)

    Well first of all you’ll need to have a pretty good handle on writing PHP code. If you can’t do that, you’ll need to find yourself a developer or coder who can handle the job.

    Basically, you need to build the HTML form for your user interface that when submitted, alters the database query based on the submitted values.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Counting and Sorting Records’ is closed to new replies.