steven s
01-04-2006, 12:47 AM
I have specific profile fields in its own template.
I am having a problem with radio buttons used for shirt sizes.
The radio button selection is saved but how do I show the radio button as checked the next time I visit the page.
Attached is what the page looks like.
<label for="rb_cpf_field26_1"><input type="radio" name="userfield[field26]" value="1" id="rb_cpf_field26_1" />S</label>
<label for="rb_cpf_field26_2"><input type="radio" name="userfield[field26]" value="2" id="rb_cpf_field26_2" />M</label>
<label for="rb_cpf_field26_3"><input type="radio" name="userfield[field26]" value="3" id="rb_cpf_field26_3" />L</label>
<label for="rb_cpf_field26_4"><input type="radio" name="userfield[field26]" value="4" id="rb_cpf_field26_4" />XL</label>
<label for="rb_cpf_field26_5"><input type="radio" name="userfield[field26]" value="5" id="rb_cpf_field26_5" />XXL</label>
I am having a problem with radio buttons used for shirt sizes.
The radio button selection is saved but how do I show the radio button as checked the next time I visit the page.
Attached is what the page looks like.
<label for="rb_cpf_field26_1"><input type="radio" name="userfield[field26]" value="1" id="rb_cpf_field26_1" />S</label>
<label for="rb_cpf_field26_2"><input type="radio" name="userfield[field26]" value="2" id="rb_cpf_field26_2" />M</label>
<label for="rb_cpf_field26_3"><input type="radio" name="userfield[field26]" value="3" id="rb_cpf_field26_3" />L</label>
<label for="rb_cpf_field26_4"><input type="radio" name="userfield[field26]" value="4" id="rb_cpf_field26_4" />XL</label>
<label for="rb_cpf_field26_5"><input type="radio" name="userfield[field26]" value="5" id="rb_cpf_field26_5" />XXL</label>