close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataBridge radio groups in my register page

Thread began 3/30/2013 6:42 am by Paul | Last modified 3/30/2013 7:22 pm by Paul | 687 views | 3 replies

PaulBeta Tester

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?


html:
<div class="lineGroup">
<label for="Registration_group_hoType__1" class="sublabel" > hoType:<span class="requiredIndicator">&nbsp;*</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&nbsp;
<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&nbsp;
<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>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...