Dec 11th, 2010, 2:31 AM
Hey Camaleon:
did you create a field option group for this field? more information.
The "field value" should match the value submitted by the form.
With "field" sex and "field values" female and male the form should look like this:
Good luck.
Cheers,
Hannes
did you create a field option group for this field? more information.
The "field value" should match the value submitted by the form.
With "field" sex and "field values" female and male the form should look like this:
PHP Code:
<input type="radio" class="radio" name="sex" id="female" value="female" <?php if (@$fields['sex'] == "female") echo "checked"; ?> />
<input type="radio" class="radio" name="sex" id="male" value="male" <?php if (@$fields['sex'] == "male") echo "checked"; ?> />
Good luck.
Cheers,
Hannes