Jump to content

Validate Form Using 2 Fields


carlfaulkner

Recommended Posts

I have a shopping cart script and within the view a product script i want to have 2 input fields that you can enter width and drop. I then need a button that says calculate and when clicked performs a calculation and passes the value of calculation into a price filed which cannot be altered unless the width or drop field is changed and calculate is pressed. Also the value of the price field needs to be passed to a php varialbe aswell so that when the add to cart button is pressed the php value is passed. Anyone have any ideas at all.

Link to comment
Share on other sites

have you come up with any codes?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...