I am trying to combine two functions/hooks that work well individually.
The Scenario:
Hook 1: On selection of an item from a dropdown (#input_3_20), a read-only field (#input_3_41) is populated with information depending on the selection. Works fine.
Hook2: I am trying to incorporate Tax Calculation (using http://www.gravityhelp.com/documentation/page/Gravity_Forms_Pricing:_Adding_Tax as example)
The Problem:
The problem now is I want to combine both such that the tax rate that will be used will be picked from the read-only field.
Here are the two codes side-by-side: http://www.pastie.org/3350762
Here is how I have combined them - lol: http://www.pastie.org/3350796
Please advise?