Gravity Wiz

Magically enhanced tutorials, snippets and plugins for Gravity Forms!

  • Gravity Perks
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    • Documentation
    • Support
    • Account

Gravity Forms Terms Of Service

Add a “Terms of Service” field to your form and require full scroll and checkbox agreement.

This plugin is part of Gravity Perks, a suite of 32+ essential Gravity Forms addons with support you can count on.

  • View All Perks
  • Buy Gravity Perks

What does it do?

This plugin allows you to add a new Terms of Service field to your Gravity Forms.

Features

  • Add Terms of Service to any form.
    Easily add Terms of Service fields in any Gravity Form.
  • Require full scroll.
    Optionally require the user to scroll through the terms before acknowledging.
  • Include terms in Confirmations and Notifications.
    Add terms to Confirmations and Notifications using merge tag modifier.
  • HTML and shortcode Support.
    Use HTML and shortcodes inside Terms of Service fields.
  • Use existing Terms of Service Page Content for terms.
    Already have Terms of Service Page on your site? Embed that into the field.
  • Automatic updates.
    Get updates and latest features right in your dashboard.
  • Awesome support.
    We’re here to help! And we mean it.

Documentation

  1. How do I enable this functionality?
  2. Feature Details
    1. HTML & Shortcode Support
    2. Require Full Scroll
    3. Include Terms in Notifications
    4. Use Terms of Service Page Content for Terms
  3. Hooks

How do I enable this functionality?

After installing and activating Gravity Forms Terms of Service, you can add Terms of Service fields to your forms. Let’s step through that process.

Create a new Form or navigate to any existing Form. Find the Terms of Service button under the Advanced Fields group. Click it to add the field to your form.
Open the field settings for this field and enter your terms into the setting labeled “The Terms”.

You now have a Terms of Service field ready for action!


Feature Details

HTML & Shortcode Support

The Terms of Service field supports full HTML and shortcodes for your terms. You can add headers, lists and other formatting options with simple HTML.

Require Full Scroll

If you would like to require that the user read the terms, enable Require Full Scroll. When enabled, the checkbox to agree to the terms will not be checkable until the user has scrolled to the bottom of the terms field.

Include Terms in Notifications

By default, only the value of the checkbox field is included in notifications confirming that the user did agree to the terms. If you would like to include the terms as well, just add the :include_terms merge tag modifier to the merge tag.

Individual Field Merge Tag{Terms of Service:7:include_terms}
The {all_fields} Merge Tag{all_fields:include_terms}
Multiple Options{all_fields:noadmin,include_terms}

Use Terms of Service Page Content for Terms

Do you have a Terms of Service page and would like to reuse the contents of this page for the Terms of your Terms of Service field? This is possible using the Post Content Shortcodes plugin.

Just install and activate the Post Content Shortcodes plugin and use the [post-content id=""] shortcode to pull in the contents of your Terms of Service page.

tos-field-settings-shortcode

Hooks

  • gptos_disable_css
Gravity Forms has hundreds of hooks. Check out our Gravity Forms Hook Reference for the most thorough guide to Gravity Forms’ many actions and filters.

Perk Deets

  • Version 1.3.14
  • Updated June 9, 2020
  • Released June 15, 2013
  • View Changelog

Changelog

1.3.14

  • Fixed null array access notice in PHP >= 7.4 (#1)

1.3.13

  • Added tabindex to terms container to allow keyboard navigation and scrolling of terms.
  • Updated plugin author.

1.3.12

  • Fixed issue with GP Nested Forms where Require Scroll was not correctly disabling the checkbox.

1.3.11

  • Fixed issue where ":include_terms" modifier did not work with GP Preview Submission.

1.3.10

  • Updated UI with minor improvements.

1.3.9

  • Added full translation support.

1.3.8

  • Added support for translating checkbox label with WPML.

1.3.7

  • Added future compatability with the WYSIWYG CKEditor plugin.

1.3.6

  • Fixed issue where shortcodes were parsed when loading ToS fields in the form editor, resulting in the replaced shortcode content saving over the shortcode itself.

1.3.5

  • Fixed issue where the ":include_terms" modifier was not working after conversion to GF_Field class.

1.3.4

  • Updated perk to use GP_Bootstrap
  • Updated minimum Gravity Perks version to 1.2.12
  • Updated minimum Gravity Forms version to 1.9.8.2
  • Updated GP_Terms_Of_Service class to singleton pattern
  • Updated plugin name from "GP Terms of Service Field" to "GP Terms of Service"
  • Replaced GWTermsofServiceField with GF_Field_Terms_Of_Service class which extends the GF_Field class for better integration with other 3rd party GF plugins

1.3.3

  • Fixed issue where adding field with GP Preview Submission activated resulted in AJAX error

1.3.2

  • Added support for replacing merge tags in terms content if GP Preview Submission is activated

1.3.1

  • Updated GF min required version to 1.9.3 for dependency on gf_apply_filters() function

1.3

  • Added support for shortocodes in terms
  • Added support for "include_terms" merge tag option for {all_fields} and individual ToS field merge tags
  • Added default support for HTML in terms (existing ToS fields will remain textareas)
  • Added support for proper styling on left and right aligned label forms
  • Added support for small, medium and large sized terms fields

1.2.4

  • Added support for translating terms with WPML

1.2.3

  • Added support for default styles to <ol>'s, <ul>'s and <p> in terms when "div" mode enabled
  • Added autop support to terms when "div" mode enabled
  • Removed field label from within terms when "div" mode enabled

1.2.2

  • Updated admin to correctly hide non-applicable choice-based settings for the ToS checkbox
  • Fixed small styling issue where ToS checkbox was too close to ToS textarea

1.2.1

  • Fixed issue issue where conditional logic was not working when dependent on ToS checkbox

1.2

  • Updated for GF 1.9 release
  • Fixed bug where the checkbox value was not persistent when navigating the form if require scroll option was enabled

1.1.3

  • Fixed two notices, one of which prevented adding a ToS field when WP_DEBUG was enabled

1.1.2

  • Fixed issue where "Require Full Scroll" option was not working when field was previously hidden by conditional logic

1.1.1

  • Fixed issue where terms textarea was no longer read only

1.1

  • Added experimental "div" mode which allows terms to contain HTML and other formatting
  • Added minimum Gravity Perks version of 1.1.14
  • Updated GWTermsofServiceField class to work with latest version of Gravity Perks

1.0

  • Updated Documentation to the new Gravity Perks method.
  • Updated JS scrollHeight conditional from (- 8) to (- 20). Fixed issues with older versions of IE

1.0.beta2.1

  • Fixed issue with determining if user has scrolled to bottom of terms in Chrome

All Perks

  • GF Auto Login
  • GF Better User Activation
  • GF Blacklist
  • GF Conditional Logic Dates
  • GF Conditional Pricing
  • GF Copy Cat
  • GF Date Time Calculator
  • GF Disable Entry Creation
  • GF Easy Passthrough
  • GF eCommerce Fields
  • GF Email Users
  • GF Expand Textareas
  • GF File Upload Pro
  • GF Limit Checkboxes
  • GF Limit Choices
  • GF Limit Dates
  • GF Limit Submissions
  • GF Live Preview
  • GF Media Library
  • GF Multi-Page Navigation
  • GF Nested Forms
  • GF Pay Per Word
  • GF PayPal One-time Fee
  • GF Placeholder
  • GF Populate Anything
  • GF Post Content Merge Tags
  • GF Preview Submission
  • GF Price Range
  • GF Read Only
  • GF Reload Form
  • GF Terms Of Service
  • GF Unique ID
  • GF Word Count

Copyright © 2021 · Powered by WordPress · Gravity Wiz LLC

  • Support
  • Affiliates
  • About
  • Sitemap
  • Gravity Perks
    ▼
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    ▼
    • Documentation
    • Support
    • Account