14 gravityview()->log->debug(
'search-field-checkbox.php - No choices for field' );
19 <div
class=
"gv-search-box gv-search-field-checkbox">
21 <label
for=search-box-<?php echo esc_attr(
$search_field[
'name'] ); ?>><?php echo esc_html(
$search_field[
'label'] ); ?></label>
26 <label
for=
"search-box-<?php echo sanitize_html_class( $search_field['name'].$choice['value'].$choice['text'] ); ?>" class=
"gv-check-radio">
27 <input type=
"checkbox" name=
"<?php echo esc_attr( $search_field['name'] ); ?>[]" value=
"<?php echo esc_attr( $choice['value'] ); ?>" id=
"search-box-<?php echo sanitize_html_class( $search_field['name'].$choice['value'].$choice['text'] ); ?>" <?php
gv_selected( $choice[
'value'],
$search_field[
'value'],
true,
'checked' ); ?>>
28 <?php echo esc_html( $choice[
'text'] ); ?>
static getInstance( $passed_post=NULL)
gravityview()
The main GravityView wrapper function.
gv_empty( $value, $zero_is_empty=true, $allow_string_booleans=true)
Is the value empty?
gv_selected( $value, $current, $echo=true, $type='selected')
Similar to the WordPress selected(), checked(), and disabled() functions, except it allows arrays to ...