Create a Custom “Select All” Label for your Checkbox Form Field in Gravity Forms
The Gravity Forms premium WordPress plugin provides a “Select All” label option for its checkbox fields. But what if you wanted a custom label, custom text, for the “Select All” option?
In this article we will show you how to modify the default “Select All” label option to create your own custom label text.
Custom Checkbox “Select All” Label For All Forms
The following code snippet will allow you to alter the Select All label text for all of the forms on your website. To implement this change, edit your website’s functions.php
file within your active theme directory. Ideally you should be using a child theme, insert the code below substituting “MY CUSTOM LABEL” to your own custom text.
Custom Checkbox “Select All” Label for Specific Form
The following code snippet will allow you to alter the Select All label text for a specific form on your website. To implement this change, edit your website’s functions.php
file within your active theme directory. Ideally you should be using a child theme, insert the code below substituting “MY CUSTOM LABEL” to your own custom text. Obtain your Form ID and replace “FORMID” with this number.
If you found this article helpful, please take a moment to like us on Facebook, share this on your social media. Let us know if you have any questions that we may be able to assist you with.