Posted on by

Allowing Participants Database Editors to Delete Records

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)

Posted on by

Showing a Record Edit Form Based on a Value in the Record

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)

Posted on by

Using the PDb_Template Helper Class in a Custom List Template

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)

Posted on by

Creating Your Own “With Selected” Actions in the PDB Admin

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)

Posted on by

Populate a Form Dropdown from the Database

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)