Calc Element and drop down element

viatechcenter

viatechcenter
I have price 1, price 2 and price 3 in drop down element with JS hide/show script. How I must I do in order calc element only works with selected drop drown record and only show this record and not the others.

Thanks for your help.

Francisco
 
the calc element won't know which element is shown/hidden - we will post all the form's data to the calculation code.

I'm guessing you have another element which when its value is changed it shows/hides the price dropdowns?

If so then you would have to check the value of that element in your PHP code and then get the corresponding shown price elements value.
 
I'm guessing you have another element which when its value is changed it shows/hides the price dropdowns?

If so then you would have to check the value of that element in your PHP code and then get the corresponding shown price elements value.

Rob, Could you please write the the PHP code in this case?

Thanks a lot
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top