multiple radio fields
Posted: 04 January 2011 11:34 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  6
Joined  2011-01-04

I can’t seem to get a a radio field to work.  In a form I have two fields.  The first (the one that shows up first in a custom fields loop) shows the checked value correctly.  The second field will not show the checked value.  Looking at the code it seems that the {checked} variable is not working for the second field.  I tried this via a custom field loop and {options:your_custom_field_name}.  Help please.

thanks

Profile
 
 
Posted: 04 January 2011 07:34 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Can you show us your template code?

Profile
 
 
Posted: 04 January 2011 10:18 PM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  6
Joined  2011-01-04

While in the process of getting the code for this response, I noticed that I had a hidden field that I was populating.  Even though it was not the field in question, it seems as if it was effecting the {checked} variable of the other radio field.

Thanks for helping me help myself!

Profile
 
 
Posted: 04 January 2011 10:18 PM   [ Ignore ]   [ # 3 ]
Wallflower
Rank
Total Posts:  6
Joined  2011-01-04

ignore

Profile
 
 
Posted: 04 January 2011 11:52 PM   [ Ignore ]   [ # 4 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Glad you got it sorted out.

Profile