Radio Button - Field Default Value

vanGogh1967 21 Apr, 2011
What do I have to put in "Field Default Value" at the radio button element?

I have
option1=10
option2=20
option3=30

and like to show "option1"(=10) as default.

Name of element is "input_radio_1"

Thanks
Stephen
GreyHead 21 Apr, 2011
Hi Stephen,

Please try 10 - that is the value linked to option1.

Bob
vanGogh1967 21 Apr, 2011
No success - i tried it also with quotes and brackets, but nothing works.

Stephen
Max_admin 21 Apr, 2011
Hi Stephen,

Well, it's a little bit confusing, I think because your radios values are strings but labels are numbers (which is irregular unless you have a reason), please use "option1" (without quotes), since that's the field value, and 10 is the field label, assuming you have that in the options box:
option1=10
option2=20
option3=30

value=Label

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.