Posted on by

Showing results from a dynamic timeframe in Participants Database

It’s possible to determine what records are shown using the View LinkFirst NameLast NameCityStatePhoto ⊛ Bilaga Haroom ⊛ Calvin Sari Bar Nunn Krakatoa ⊛ Bazaldua Myong Rising Star Nevada ⊛ Debolt Edwin King Arthur Court Alaska ⊛ Monroy Germaine Peeled Chestnut Iowa ⊛ Conti Domenic Keen-Wik North Dakota ⊛ Cavitt Eusebio Howey in the Hills […]

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 […]

Posted on by

Understanding Possible Data Loss when Changing Field Form Element Type

When a field is defined in Participants Database, it creates a data column in the database table to store the information that field will collect. The way databases work, it’s more efficient to tell it what kind of data you intend to store. So, when a field’s form element is defined, the “datatype” in the […]

Posted on by

Setting Up a Currency or Other Decimal-Type Field

Participants Database has a built-in field type called “Numeric” that is for the purpose of handling numeric field data. Normally, it will only work with integers (numbers without a decimal) but it isn’t hard to change that to a field that will accept decimal values, such as for a currency amount. There are two things […]

Posted on by

A Custom Form Element that Simply Displays HTML

This post is about a kind of experiment I wanted to explore: create a form element that simply outputs some HTML in a Participants Database form. For instance, you could include a title, explanatory text, a video, an image, or really anything. The UI should be simple: first, the user creates a field in Participants Database […]

Posted on by

Dynamic Hidden Fields in the Admin

The Dynamic Hidden Field feature in Participants Database provides a way to capture dynamic values when a form is presented, such as the current user’s ID or the page the form is on. Normally the plugin only fills in the dynamic value when displaying a form on the frontend, but it is possible to capture these […]