Like the ‘select all’ option which allows you to select all the checkboxes in gravity form, the ‘deselect all’ option enables you to deselect all the options. Since gravity forms doesn’t provide any visual interface to change this text so, we will be doing it by using Gravity Forms filter.

Deselect All’ for checkboxes in Gravity Forms.
Deselect All’ for checkboxes in Gravity Forms.

Before we begin with this tutorial here are a few things to keep in mind

  • You shouldn’t paste this code in your theme’s function.php instead you should first create a child theme and use its functions.php
  • Only modify the code as suggested otherwise you risk breaking the site.
  • Please do watch the video in this article to see the steps in action.

Change ‘Deselect all’ for all the forms on your site

Changed ‘deselect all’ for all the forms on your site

Changed ‘deselect all’ for all the forms on your site

Change ‘Deselect all’ for a Particular form on your site

You can also modify the  text for ‘deselect all’ option for a specific form only with the help of the following code given below

Note: Change the FORMID of the above code to the form id of a form  in which you would like to change the text

Note: Change My Custom Deselect All to any text of your choice.

Change ‘Deselect all’ for a Particular field on the form

Note: Change the FORMID of the above code to the form id of a form  in which you would like to change the text

Note: Change the FIELDID of the above code in which you would like to change the textNote: Change My Custom Deselect All to any text of your choice.

Check Here quick video describing the above steps.