There is a leftover '</option>' after your in the radio input version. May
or may not cause issues, but messy nonetheless.



On 3/31/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> what does #inputChecked(status_id, qStatus.status_id)# return?
>
> for a <select> element it would be 'selected="selected"' (or just
> 'selected' if you're not a standards kinda guy).
>
> for a radio it would be 'checked="checked"' (or just 'checked'
> if...well, you know) :)
>
> On 3/31/06, John Oast <[EMAIL PROTECTED]> wrote:
> > I want to change a dynamically driven dropdown, with a pre-selected
> choice, to a dynamically driven radio button group, also with a pre-selected
> choice.
> >
> >   Dropdown:
> >
> > <select name="status_id">
> >      <cfloop query="qStatus">
> >           <option value="#qStatus.status_id#" #inputSelected(
> qStatus.status_id, form.status_id)#>#qStatus.status#</option>
> >      </cfloop>
> > </select>
> >
> >   Here's what I have so far with the radio group, but it's not working.
> Any thoughts?
> >
> > <cfloop query="qStatus">
> >  <input type="radio" name="status_id" value="#qStatus.status_id#"
> class="checkbox" #inputChecked(status_id, qStatus.status_id)#>
> #status#</option>
> > </cfloop>
> >
> >   Many thanks, Peter
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236751
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to