GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
search-field-input_text.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display the search text input field
4  *
5  * @file class-search-widget.php See for usage
6  */
7 
10 
11 ?>
12 <div class="gv-search-box gv-search-field-text">
13  <?php if( ! gv_empty( $search_field['label'], false, false ) ) { ?>
14  <label for="search-box-<?php echo esc_attr( $search_field['name'] ); ?>"><?php echo esc_html( $search_field['label'] ); ?></label>
15  <?php } ?>
16  <p>
17  <input type="text" name="<?php echo esc_attr( $search_field['name'] ); ?>" id="search-box-<?php echo esc_attr( $search_field['name'] ); ?>" value="<?php echo esc_attr( $search_field['value'] ); ?>">
18  </p>
19 </div>
static getInstance( $passed_post=NULL)
gv_empty( $value, $zero_is_empty=true, $allow_string_booleans=true)
Is the value empty?