Field Classes

Articles

GF_Field_Radio

This class is responsible for determining how the Radio Button field is rendered when the form is displayed and how its value is handled during and after form submission. This class also handles the Product, Product Option, and Shipping fields rendering when the field is a radio button.

GF_Field_Quantity

Need to create a custom Quantity field within Gravity Forms for handling your product quantities? The GF_Field_Quantity class is what you’re looking for.

GF_Field_Product

Need to create a new product field in Gravity Forms? The GF_Field_Product class is exactly what you’re looking for. Check it out here!

GF_Field_Price

This class is responsible for determining how the Product field is rendered when it is a “User Defined Price” when the form is displayed and how its value is handled during and after form submission.

GF_Field_Phone

This class is responsible for determining how the Phone field is rendered when the form is displayed and how its value is handled during and after form submission.

GF_Field_Password

Need to mask password fields in your forms? Here’s how you can use the GF_Field_Password class to create new password field in Gravity Forms.

GF_Field_Page

This class is responsible for determining how the Page field is rendered in the form editor. This only handles the section called “Page Break”, not the “Start Paging” or “End Paging” sections.

GF_Field_Option

This class is responsible for handling the Option field. Because Option fields are either a Drop Down, Radio Button, or Checkbox, this class only adds some settings and sets the title for the field in the editor.

GF_Field_Number

This class is responsible for determining how the Number field is rendered when the form is displayed and how its value is handled during and after form submission.

GF_Field_Name

This class is responsible for determining how the Name field is rendered when the form is displayed and how its value is handled during and after form submission.