Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / how do i make radio button 'on' as default for downloadable option

how do i make radio button 'on' as default for downloadable option

Locked

Views: 2,531

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
6 Dec 2007, 1:21 PM
#1
what44 avatar

what44

Zen Follower

Join Date:
Oct 2007
Posts:
134
Plugin Contributions:
0

how do i make radio button 'on' as default for downloadable option

how do i make radio button 'on' as default for downloadable option.

it was 'on' b4 i changed it to checkbox but when i came back to radio button, it isnt selected. i want it default as 'on' selected.

6 Dec 2007, 3:37 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: how do i make radio button 'on' as default for downloadable option

When working with Attributes ... if you have Option Names with only 1 Option Value ... to have a defaulted, selected Radio Button you can do this in a couple of ways ...

If the Option Name is the Option Type Radio Button, then you need to set the Attribute to be:

Default Attribute
to be Marked Selected:

If the Option Name is the Option Type Dropdown, then by default, all Dropdown Option Names with only 1 Option Value automatically switch to a Radio Button that is set as the default, selected Radio Button ...

NOTE: once more than 1 Option Value is added to an Option Name that is an Option Type for Dropdown, it will automatically convert back to a dropdown ...