When importing a CSV, it is possible to configure it to match and update existing records. The same process can also be used when a new record is submitted via the signup form. Normally, this is done by matching a single identifying field such as an ID or email address. In some cases, it’s desirable… (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)
Participants Database uses a “private id” value as a key for users to edit their own record. The plugin uses a short 5-character code for this purpose, it’s not meant to be airtight security, just something impractical to guess. Some administrators may want to use a larger term for their install, and it’s possible to… (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.
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)
Setting up a custom validation method is relatively easy if you’ve got some PHP skills. If you’re familiar with using WordPress filters, then you’ve got the basic knowledge you need to set this up. If you’re not sure what WordPress filters are and how to use them, there is a good intro article that should… (read)