Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[ ULTRAGlobals ] Error Radio button

Quote Reply
[ ULTRAGlobals ] Error Radio button
When use a radio button in the option To modify Link the value of the
selected button does not appear checked, the two used buttons appears
unselected. it can help me?

You have some pluguin that she returns SELECT eg: Format_Select_Field?

My code:
<!-- Delivery -->
<div class="row clear">
<label for="Contact_Name" class="name">Faz entrega em domicilio?:</label>
<div class="value">
<%Plugins::ULTRAGlobals::Format_Radio_Field('Entrega')%>

<%loop radio_loop%>
<input name="<%field_name%>" id="<%name%>" type="radio"
value="<%name%>" <%if selected%>checked<%endif%> />
<label for="<%name%>"><%value%></label>
<%endloop%>
</div>
</div>

__________________________________

HTML Results:
<!-- Delivery -->
<div class="row clear">
<label for="Contact_Name" class="name">Faz entrega em domicilio?:</label>
<div class="value">
<input name="Entrega" id="Nao" type="radio" value="Nao" />
<label for="Nao">Nao</label>
<input name="Entrega" id="Sim" type="radio" value="Sim" />
<label for="Sim">Sim</label>
</div>
</div>

____________________________________
Subject Author Views Date
Thread [ ULTRAGlobals ] Error Radio button Janio 4978 Dec 30, 2010, 7:48 AM
Thread Re: [Janio] [ ULTRAGlobals ] Error Radio button
Andy 4821 Dec 30, 2010, 8:50 AM
Post Re: [Andy] [ ULTRAGlobals ] Error Radio button
Janio 4797 Dec 30, 2010, 11:12 AM