E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
accept-charset
action
alt
button
buttons
buy
cart
checked
class
code
combination
default
download
ejc
ejejc
figured
form
image
input
instant
javascript
layout
logo
method
notice
onclick
option
page
parentnode
physical
post
product
purchase
quantity
return
selected
size
src
target
text
thkbx
type
utf-8
value
| |
| |
|
nizernoj member Posts: 2 |
Im using the radio button layout for my e-junkie Buy Now button... I would like one of the radio buttons to be selected by default... because right now, if you visit the page and simply choose buy now you get a notice that "Product Combination does not exist" since a radio button has not been selected. Is this possible? Here is the code I am using for the radio buttons. Thanks. <form action="https://www.e-junkie.com/ecom/gb.php?c=cart&i=HTW001&cl=MY_SELLOR_ID& ejc=2" target="ej_ejc" method="POST" accept-charset="UTF-8"> <br/> Quantity: <input type="text" name="quantity" size="3" value="1" border="1"/> <br><input type=radio name="o1" value="Instant MP3 Download"> Instant MP3 Download $9.99<br> <input type=radio name="o1" value="Purchase Physical MP3 CD"> Purchase Physical MP3 CD* $13.99<br> <input type=radio name="o1" value="Purchase 4 Audio CD Set"> Purchase 4 Audio CD Set $24.99<br> <hr> *MP3 CD's are compatible with computers, iPods, and many newer CD players bearing the MP3 logo. <input type="image" src="http://hearthewritings.com/dev/wp-content/themes/theme1410/images/Buy- Button2.png" border="0" alt="Add to Cart" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this.parentNode);"/> </form> <br> # POSTED ON: June 28, 2012 @ 04:35 GMT -7 |
|
nizernoj member Posts: 2 |
I figured it out... simply add "checked on the option you want selected by default.. so in this case: <input type=radio name="o1" value="Instant MP3 Download" CHECKED> Instant MP3 Download $9.99<br> That makes the option selected by default. # POSTED ON: June 28, 2012 @ 05:16 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






