Gravity Forms Data Objects

About Data in Gravity Forms

Gravity Forms stores two kinds of data:

  • form configuration data
  • form submission data (or entry data)

A data object or data array in Gravity forms contains the data.

Gravity Forms Data Objects

There are 7 types of Gravity Forms data objects or data array is made up of properties.

Components of Gravity Form Data Objects

Properties hold values.

Values are created on input by a user.

Values entered on configuration.

Values entered on submission.

Entry Objects

An entry object is data which is associated with an entry.

Such entry object properties may include:

  • date created – the date the form entry was created
  • client IP – the IP address of the client computer used to fulfil the form entry
  • submitted field values – data entered into the form by the form user

Form Objects

A form object is data which carries information about a particular form.

Such for object properties may include:

  • form title
  • fields
  • notification
  • confirmation

Most of the Gravity Forms hooks can interact with form objects.

Subsets of Form Objects

Field Objects

A field object is data which holds all setting information about a particular field.

It’s actually a sub-set of the form object.

It can be manipulated dynamically to change the way fields are displayed at the front end.

Notifications Objects

A notification object contains all the configured notifications of a particular form.

Confirmations Objects

A confirmations object contains all the configured confirmations of a particular form.

Conditional Logic Objects

A conditional logic object contains all conditional logic data associated with a particular form.

This may include:

  • visibility of form elements
  • manipulation of values entered by the user
  • use of notification
  • use of confirmation
  • use of add-on feed

Button Objects

A button object contains the button related data for a form.

This will include: button text, for example

References

https://docs.gravityforms.com/category/developers/

Was this article helpful?