Author Topic: Switch selection box to inputbox?  (Read 4189 times)

Rezant

  • Newbie
  • *
  • Posts: 2
Switch selection box to inputbox?
« on: 02 February 2010, 06:18 »
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.
« Last Edit: 02 February 2010, 06:26 by Rezant »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,800
    • Sakic.Net
Re: Switch selection box to inputbox?
« Reply #1 on: 02 February 2010, 06:45 »
the payment amount on paypal is always = to the amount in the box

Isn't it supposed to be?

Rezant

  • Newbie
  • *
  • Posts: 2
Re: Switch selection box to inputbox?
« Reply #2 on: 02 February 2010, 06:50 »
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/
« Last Edit: 02 February 2010, 07:57 by Rezant »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,800
    • Sakic.Net
Re: Switch selection box to inputbox?
« Reply #3 on: 02 February 2010, 16:24 »
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.