CAUTION️Version 5 of Gravity PDF does not have full support for Gravity Forms 2.5 and you should consider upgrading to version 6. If you cannot, version 5 will still function but have a degraded admin experience. Support and bug/security fixes will be provided until 27 April 2023.
Gravity PDF API – likert_table()
This function will output (or return) the Survey Add-on Likert table.
This method was introduced in Gravity PDF 4.0.
$entry | array
- The raw Gravity PDF Entry
$field_id | integer
- The field ID of the likert field you want to output
$return | boolean | optional
- Set to true to have the likert table HTML returned. By default, this is false and will automatically be echoed.
string | void
- Returns the HTML string when
The following snippet shows you how to output the likert table from your Gravity PDF template:
/* The raw $entry array is available to all Gravity PDF templates automatically */
GPDFAPI::likert_table( $entry, 20 );
This method is located in