I know this is customization and nobody responded in the job board so I'm figuring this out on my own.
I need to update a discount price field based on some user selections. I've got the jquery and if then statements to figure out the selections working. But I cannot get my jQuery to update product field price. Basically I need to give a negative value to reduce the total based on the selections.
What is the field I need to update? Here is what it looks like in FIrebug:
<input type="hidden" name="input_19.1" value="Discount" class="gform_hidden">
<span class="ginput_product_price_label">Price:</span>
<span class="ginput_product_price" id="input_1_19">$0.00</span>
<input type="hidden" name="input_19.2" id="ginput_base_price_1_19" class="gform_hidden" value="$0.00">
<input type="hidden" name="input_19.3" value="1" class="ginput_quantity_1_19 gform_hidden">
var tv = $('#input_1_19').text();
alert(tv);
displays the $0.00 but I don't think that's the value I want to update?
Any ideas?
Also a direction on code to change the value?
I know this is simple but I cannot figure it out.
Thanks.
Mike