Normally, users with the Participants Database “Editor” role cannot delete records, but it is possible to provide this access if your situation needs it. I’m going to explain this in a little detail because how it works is not very intuitive at all. If you just want to put in the code, you can jump… (read)
When using Participants Database to represent two or more classes of people or things, you sometimes need to customize the frontend edit form so that is only shows the fields that are relevant to the type of record that is getting edited. We can easily do this with a custom template. If you’re not familiar… (read)
The PDb_Template helper class makes setting up a custom display for a Participants Database record much easier in situations where you don’t want to just loop through the values. Sometimes you don’t want to treat each value the same, you want to lay out each value in a way that fits the information better. This… (read)
Sometimes you need to set the default value of a field depending on the context of the form you are using. Or perhaps you know what the field should default to because of which page the form is on or some other factor. This is easy to do using a custom template. If you’re not… (read)
It’s possible to determine what records are shown using the pdb_list shortcode by using the “filter” attribute. If you want to show records from a range of dates, you can use the filter to determine the start and end dates for the range.
Participants Database has a simple kind of mass-edit functionality in the backend List Participants page. If one or more records are selected in the list, a function can be performed on all of them. Normally, this is things like deleting records or setting the “approved” flag. Other Participants Database add-ons add their own functions to… (read)
As of version 184.108.40.206, Participants Database allows you to add a CSV download form to your regular frontend list displays. It does require a little configuration and a custom template, but we’ll walk you through the process in this post. First, the warning: be careful with this, it gives your users direct access to your… (read)
Sometimes, you want to give the user the ability to select from a list if things that are in the database, rather than a fixed set of options as defined in the field definition. This will require some simple PHP along with a database query, but once you get the idea, a lot of other… (read)