Posted on by

Getting Correct Search Results with Non-English Characters

Participants Database is set up to be compatible with non-English installs using the normal localization setup provided by WordPress: download the language pack, choose your language in the settings, and you’re set. Participants Database will follow along, as long as it has a translation file that matches the chosen language. This is discussed in more… (read)

Posted on by

Pre-load a “Chosen” Dropdown with Options from the Database

The Chosen Dropdown add-on for Participants Database gives you the ability to use javascript-powered dropdown selectors in your forms. Normally, these dropdowns are populated with a static set of values in the field definition. This tutorial shows how to populate your Chosen dropdown with values from the database. For our tutorial here, we’re going to… (read)

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 Email Expansion Kit as a Contact Form: Selecting a Recipient

The Participants Database Email Expansion Kit can be used to set up a contact form or other email that has a dynamic recipient. Most of the time, you will want to be able to route an email to a selected recipient without showing the actual email addresses. As an example, lets say you have a… (read)

Posted on by

Limit the Amount of Text in a Text Area or Rich Text Form Element

Participants Database has two form elements for large blocks of text. In some cases, you will want to limit the number of characters your users can input. This is fairly simple to do on the frontend by using the HTML5 “maxlength” attribute. The maxlength attribute prevents any input to a textarea (or other input) beyond… (read)