Skip to content

Commit

Permalink
support for all product field types (both prices and quantities)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Jan 18, 2016
1 parent 99882d4 commit cc72047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gravityforms-multiple-form-instances.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ function gform_get_form_filter($form_string, $form) {
'gforms_calendar_icon_input_' . $form['id'] . '_' => 'gforms_calendar_icon_input_' . $random_id . '_',
"id='ginput_base_price_" . $form['id'] . "_" => "id='ginput_base_price_" . $random_id . "_",
"id='ginput_quantity_" . $form['id'] . "_" => "id='ginput_quantity_" . $random_id . "_",
"gfield_price_" . $form['id'] . "_" => "gfield_price_" . $random_id . "_",
"gfield_quantity_" . $form['id'] . "_" => "gfield_quantity_" . $random_id . "_",
"gfield_product_" . $form['id'] . "_" => "gfield_product_" . $random_id . "_",
"ginput_total_" . $form['id'] => "ginput_total_" . $random_id,
"GFCalc(" . $form['id'] . "," => "GFCalc(" . $random_id . ",",
'gf_global["number_formats"][' . $form['id'] . ']' => 'gf_global["number_formats"][' . $random_id . ']',
$hidden_field => "<input type='hidden' name='gform_random_id' value='" . $random_id . "' />" . $hidden_field,
Expand Down

0 comments on commit cc72047

Please sign in to comment.