Gravity Forms Data Objects

What are Objects in Gravity Forms?

  1. objects or arrays that are used across all Gravity Forms APIs.
  2. contain core Gravity Forms information
    • Example:
      • form configuration
      • form submission data

Types of objects in Gravity Forms:

  • Entry Object
    • contains ALL properties of a particular entry
      • Example:
        • date created,
        • client IP
        • submitted field values.
  • Form Object
    • contains ALL properties of a particular form
      • Example:
        • form title
        • fields
        • notification
        • confirmation.
    • available to most of the Gravity Forms hooks
    • contains the following sub-objects that control different aspects of the form confirmation
  • Field Object
    • contains ALL settings for a particular field
      • part of the Form object
      • can be manipulated to dynamically change the way the field is displayed
  • Notifications Object
    • an associative array containing ALL configured notifications for a particular form.
  • Confirmations Object
    • an associative array containing ALL configured confirmations for a particular form.
  • Conditional Logic Object
    • when applied to:
      1. form
      2. page button, or;
      3. any field
        • …(a) controls the visibility of that element based on:
          1. a choice selected
          2. value entered
            • by the user in other fields on the form.
        • …(b) also be used to determine if a:
          1. notification,
          2. confirmation, or;
          3. add-on feed
            • should be used.
  • Button Object
    • contains the settings configured for the form button
      • Example:
        • the button text.
Was this article helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *

Need Support?

Can't find the answer you're looking for?
Contact Support