OK.. Gone through the lot.
My initial form is this:
<form id="reg_mod" action="index.php?option=com_comprofiler&task=registers" method="post"><input type="hidden" name="option" value="com_comprofiler" /><input type="hidden" name="task" value="registers" /><input type="hidden" name="ismodule" value="yes" />
<div><label for="reg_mod_name">User Name</label><input id="reg_mod_username" class="pbdinputtext" type="text" name="username" size="14" /></div>
<div><label for="reg_mod_cbf322">Gender </label>Male <input id="reg_mod_cbf322" class="pbdintrocheck" type="radio" name="cb_gender" value="a Man" /> Female <input id="reg_mod_cbf323" class="pbdintrocheck" type="radio" name="cb_gender" value="a Woman" /></div>
<div><br /><input class="button" type="submit" value="Register" /></div>
</form>
My CB Reg form looks like this:
<table class="cbMulti">
<tr><td><input type="radio" name="cb_gender" class="required" class="required" value="a Man" id="cbf322" /> <label for="cbf322">a Man</label></td><td><input type="radio" name="cb_gender" class="required" class="required" value="a Woman" id="cbf323" /> <label for="cbf323">a Woman</label></td></tr>
</table>
And my auto actions are this:
if ( '[cb_gender]' == 'a Man' ) {
$( '#cbf322' ).attr( 'checked', 'checked' );
} else if ( '[cb_gender]' == 'a Woman' ) {
$( '#cbf323' ).attr( 'checked', 'checked' );
}
Still not working ?!?!?
R