GravityView  1.22.6
The best, easiest way to display Gravity Forms entries on your website.
Namespaces | Variables
checkbox.php File Reference

Go to the source code of this file.

Namespaces

 GravityView
 includes
 

Variables

 $field_value = gravityview_get_field_value( $entry, $field_id, $display_value )
 
 $gravityview_view = GravityView_View::getInstance()
 
 $is_single_input = floor( $field_id ) !== floatval( $field_id )
 
 $output = ''
 
if(! $is_single_input) else
 
 switch ($display_type)
 

Variable Documentation

◆ $field_value

$field_value = gravityview_get_field_value( $entry, $field_id, $display_value )

◆ $gravityview_view

$gravityview_view = GravityView_View::getInstance()

Definition at line 10 of file checkbox.php.

◆ $is_single_input

$is_single_input = floor( $field_id ) !== floatval( $field_id )

Definition at line 14 of file checkbox.php.

◆ $output

$output = ''

Definition at line 16 of file checkbox.php.

◆ else

if (! $is_single_input) else
Initial value:
{
$display_type = rgar( $field_settings, 'choice_display' )
$field_settings['content']
Definition: custom.php:27
$display_type
Definition: radio.php:13

Definition at line 20 of file checkbox.php.

◆ switch

switch( $display_type)

Definition at line 26 of file checkbox.php.