As we're sure you know, a form is made up of fields. Gravity Forms has loads of fields by default, and you can actually create your own fields. We try to make sure that every field is supported, and most fields should not be a problem. Even when it is a custom field.
However, not all are equal, so everybody has their own wishes as to the output. That's why we've included a bunch of hooks. Only use these if you know what you are doing, remember:
With great power, comes great responsibility
-- Uncle Ben
To give the users as much flexibility as possible, the plugin uses a
Transformer to map a Field Renderer to a field.
Transformer class has one function:
transform(GF_Field $field): FieldInterface, and it's sole purpose is to
take a Gravity Forms Field Instance (GF_Field) and map it onto a specific
Field renderer. If it has a specific
Field mapped, the transformer will return that
Field. Otherwise it will return a
BaseField or a
based on the type.
Purpose of a Field
Field-class has a specific purpose. But the main purpose is to return columns and cells. It even has two
functions to do so, called (you've guessed it):
getCells. The first returns an array of all column
names, and the second returns an array of all the values for those columns. Needless to say; the array count should be
the same for both functions.
A list of fields
Lets dive into the available fields.