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