DataBridge radio groups in my register page
I've used DB to create user reg and login pages, etc.
There seems to be an issue with handling radio groups in the wizard created register page.
When a user completes and submits a new form, my server responds with Column 'hoType' cannot be null.
Below is the code snip which refers to the issue.
The behavior i want is for a value 1 or 2 to be saved to my MySQL table.
This coding is not posting the value for some reason. Any ideas please?
<div class="lineGroup">
<label for="Registration_group_hoType__1" class="sublabel" > hoType:<span class="requiredIndicator"> *</span></label>
<div class="errorGroup"> <span id="Registration_group_hoType__1_Spry"> <span> <span class="radioFieldGroup_Wide"> <span class="radioGroup_Wide">
<label class="radioSublabel_Wide" for="Registration_group_hoType__1" onClick="hideServerError('Registration_group_hoType__1_ServerError');"> Seller
<input type="radio" name="Registration_group_hoType" id="Registration_group_hoType__1" value="1" class="formRadioField_Standard" <?php if (!(strcmp((isset($_GET["invalid"])?ValidatedField("register","Registration_group_hoType"):""),"1"))) {echo "checked=\"checked\"";} ?> tabindex="6">
</label>
<label class="radioSublabel_Wide" for="Registration_group_hoType__2" onClick="hideServerError('Registration_group_hoType__1_ServerError');"> Buyer
<input type="radio" name="Registration_group_hoType" id="Registration_group_hoType__2" value="2" class="formRadioField_Standard" <?php if (!(strcmp((isset($_GET["invalid"])?ValidatedField("register","Registration_group_hoType"):""),"2"))) {echo "checked=\"checked\"";} ?> tabindex="7">
</label>
</span> </span>
<?php
if (ValidatedField('register','register')) {
if ((strpos((",".ValidatedField("register","register").","), "," . "7" . ",") !== false || "7" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Registration_group_hoType__1_ServerError">Please enter a value.</span>
<?php //WAFV_Conditional register.php register(7:)
}
}
}?>
<span class="radioRequiredMsg">Please enter a value.</span> </span> </span> </div>
</div>