When a Participants Database signup form is submitted, it can be checked against the database for an existing record that matches the new submission. If you need to check multiple fields for a match because you don’t have a single field that uniquely identifies a record, here’s how you do that.
I sometimes get requests that the regex field validation allow for a blank entry or if there is an entry, it must follow a specific pattern. Like an optional email address that you want to be valid if it’s entered. This is possible, it’s just a matter of creating a regex that allows a blank… (read)
The Participants Database plugin includes a handy class for sending template-based emails. You can easily use this class to send custom emails from the plugin. The way this is usually done is to use the “send” static method of the class. You will need to provide the method with the email configuration information and a… (read)
In this tutorial, I’ll explain how to modify the Participants Database list search so that instead of typing values into a text box, the user will select values from a dropdown. The values of this dropdown will be gathered from the defined values of the field being searched. The search will take place on that… (read)
In authoring a plugin, I’ve found that it can be difficult to reliably find the path to the WordPress install root. The convention is to use the WordPress constant ABSPATH, and that works for most installations, but increasingly, people are using alternate directory structures. That is helpful for development, but can make things tricky for a plugin developer… (read)
I sometimes get requests from people who want to change the email people get when they sign up depending on some value in the signup. For instance, if you have more than one signup form, and each one needs a different signup email. In this tutorial, I’m going to show you a very basic application… (read)
So far, we’ve covered some CSS Syntax, How CSS Rules Work, and How to Create New CSS Rules. In this article, we’ll look at how to add CSS rules to your WordPress site. Making Permanent Changes to the CSS Once you’ve determined how your CSS needs to change to get what you want, you’ll need… (read)
At this point in the series, we’ve covered some basic CSS syntax, and learned to see how CSS rules are affecting the appearance of a web page element and test some changes. Now, we’re going to look at some techniques for creating new CSS rules to change the appearance of your page elements. Creating Effective CSS Rules Using… (read)