Plugin Planet

Premium WordPress Plugins

Learn how to add a custom checkbox fields to any USP Form.

Step 1: Use the following code for your Custom Field definition:

field#input_checkbox|checkboxes#Option 1:Option 2:Option 3|checkboxes_checked#Option 1|desc#My Label

Step 2: Add the custom-field shortcode to your form, for example:

[usp_custom_field form="123" id="1"]

That’s all there is to it. Here is a screenshot of the checkbox fields we just built:

USP Pro - Checkbox Fields

Note: To see a live example of a custom checkbox field, check out the “Starter” form demo, included in USP Pro version 2.3 and better (visit USP Forms > “Starter Form Demo”).


Here are the attributes available for custom checkbox fields:

  • field – specifies the type of custom field
  • checkboxes – list of checkbox fields
  • checkboxes_checked – list of checkbox fields that should be checked by default
  • checkboxes_req – list of checkboxes that should be required (applies when not using multiple)
  • data-required – when set as true requires at least one checkbox to be selected (applies when using multiple)
  • multiple – use multiple#multiple to make the checkboxes an array (all checkboxes have same name)
  • desc – adds a description/label to the group of checkboxes

View more custom-field attributes »


Here are some example copy/paste recipes that you can use for different types of custom checkbox fields.

Each checkbox has a unique name, all required:


All checkboxes have the same name, at least one checkbox is required:


Each checkbox has a unique name, none required:


All checkboxes have the same name, none required:


View more custom-field attributes »