This content has been marked as final.
Show 3 replies
-
1. Re: populate CC amount field with selected level of donation
Liam Dilley Sep 10, 2013 2:32 PM (in response to William Noel)Just a normal webform and seamless payment gateway or are you talking about ecommerce?
-
2. Re: populate CC amount field with selected level of donation
William Noel Sep 10, 2013 2:44 PM (in response to Liam Dilley)It's not in the ecart - here is link to the page
http://www.firstnightva.org/membership/sponsor_registration.html
-
3. Re: populate CC amount field with selected level of donation
Liam Dilley Sep 10, 2013 3:44 PM (in response to William Noel)Ok, your using html5 so you can use data-
First apply data-value="PRICENUMBER" to your select options. You need to be able to know the price.
How is your jQuery at the moment now?
What you will need to do is onChange of your dropdown to grab the current selected options:
http://stackoverflow.com/questions/4874124/get-current-value-selected-in-dropdown-using-jq uery
NOTE: IF you using a new jQuery verion use .on over .live shown in the link above.
And then on that update the price field - .val()


