PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-fields / back-end / quantity-options.php

quantity-options.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at classes/views/frm-fields/back-end/quantity-options.php

30 lines 1008 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Quantity field product association setting.
4 *
5 * @package Formidable
6 *
7 * @var array $field Field data including 'id' and 'product_field'.
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 die( 'You are not allowed to call this page directly.' );
12 }
13 ?>
14 <p class="frmjs_prod_field_opt_cont frm_prod_field_opt_cont">
15 <label>
16 <?php esc_html_e( 'Product Field', 'formidable' ); ?>
17 </label>
18 <span id="field_options[product_field_<?php echo esc_attr( $field['id'] ); ?>]" class="frmjs_prod_field_opt frm_grid_container" data-frmfname="field_options[product_field_<?php echo esc_attr( $field['id'] ); ?>][]" data-frmcurrent="<?php echo esc_attr( json_encode( $field['product_field'] ) ); ?>">
19 <?php
20 if ( ! empty( $field['product_field'] ) ) {
21 foreach ( $field['product_field'] as $f ) {
22 ?>
23 <input type="checkbox" name="field_options[product_field_<?php echo esc_attr( $field['id'] ); ?>][]" value="<?php echo esc_attr( $f ); ?>" checked="checked" />
24 <?php
25 }
26 }
27 ?>
28 </span>
29 </p>
30