Switch selection box to inputbox?

14 years 9 months ago - 14 years 9 months ago #5212 by Rezant
Hello,

I've been trying to switch my vode's selectionbox (the one where you select the amount of vodes) to an inputbox. I've gotten the form changed, but the payment amount on paypal is always = to the amount in the box probably due to the way it was originally handled. I've been chaning the controller, but I can't seem to get the right values in there.

Any help would be appreciated.

Please Log in or Create an account to join the conversation.

14 years 9 months ago #5213 by Saka

the payment amount on paypal is always = to the amount in the box

Isn't it supposed to be?

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

14 years 9 months ago - 14 years 9 months ago #5214 by Rezant
Well yes, in the original version. The way that I am trying to get it to work is they put the amount of vodes they would like to purchase in the box then it is sent to paypal as the amount of vodes*ratio or 50 in my case.

here's a nonworking demo of what I was trying to accomplish

http://cm.intothehead.com/component/vodes/

Please Log in or Create an account to join the conversation.

14 years 9 months ago #5216 by Saka
I see. Well then the only way to do it is to use javascript to make the calculation before it's submitted to PayPal. Of course, I can't post you the code or instructions, custom coding and testing are required.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch