PDA

View Full Version : Input/Radio fields inserted the hard way?


The-Ensemble
07-18-2007, 09:32 PM
I've been adding fields to my profile page using code input fields rather than the variable so that I can arrange it all nicer than how VB does it, but I am having trouble doing the radio buttons.

Heres the code for the input fields
<input type="text" class="bginput" name="userfield[field11]" id="ctb_field11" value="$bbuserinfo[field11]" size="25" maxlength="100" /><input type="hidden" name="userfield[field11_set]" value="1" />and here is the source file version of radio codes

<label for="rb_cpf_field10_1"><input type="radio" name="userfield[field10]" value="1" id="rb_cpf_field10_1" />Here</label> &nbsp;<label for="rb_cpf_field10_2"><input type="radio" name="userfield[field10]" value="2" id="rb_cpf_field10_2" checked="checked" />Away</label> &nbsp;
Would anyone be able to help me do this? Its probably right under my nose.

Thanks in advance for anyones help.

Michael Biddle
07-19-2007, 08:23 AM
Shouldnt:

name="userfield[field10]"

Be:

name="$userfield[field10]"

Notice the $

The-Ensemble
07-19-2007, 11:08 AM
No, because its from the source file. Back to the question?