close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Getting radio buttons to work

Thread began 11/25/2009 5:03 am by alan388364 | Last modified 11/25/2009 2:41 pm by alan388364 | 2004 views | 4 replies |

alan388364

Getting radio buttons to work

I am using UE to send back an existing form using Cdosys. The form has a number of radio selection buttons. I can get the text fields ie: name to send back the correct response by inserting the binding, but how do I get the radio buttons to work? Do I "insert" or "bind" the buttons? I have tried both methods and the forms either do not send back the radio button information at all or all the buttons come back filled in.

HELP PLEASE!!!!

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

you should use the bindings for the radio buttons from the bindings panel.

If you are not getting a value, make sure that the radio buttons in the form have a checked value:

<input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_0" />


if there is no value, there will not be anything to display in the email.

Sign in to reply to this post

alan388364

radio buttons not working

Thank you Jason for your reply,

I have tried various ways of attaching bindings but I am still having problems with radio group buttons. The following code is from a grid
<tr>
<td align="center" bgcolor="#FFCC00" class="large">Custom Back Plate Colour</td>
<td align="center" bgcolor="#FFCC00" class="large"><input type="radio" name="Custom Back Plate Colour" value="Bronze" id="CustomBackPlateColour_0" /></td>
<td align="center" bgcolor="#FFCC00" class="large"><input type="radio" name="Custom Back Plate Colour" value="Silver" id="CustomBackPlateColour_1" /></td>
<td align="center" bgcolor="#FFCC00" class="large"><input type="radio" name="Custom Back Plate Colour" value="Gold" id="CustomBackPlateColour_2" /></td>
<td align="center" bgcolor="#FFCC00" class="large"><input type="radio" name="Custom Back Plate Colour" value="Black" id="CustomBackPlateColour_3" /></td>
<td align="center" bgcolor="#FFCC00" class="large"><input type="radio" name="Custom Back Plate Colour" value="Gunmetal" id="CustomBackPlateColour_4" /></td>
</tr>
<tr>

this gives the result shown on the attached image. The CustomBackPlateColour_0 to 2 are wrong I know. The next two show that when I selected "Gold" as the colour this was repeated in all the colours, What I am aiming for is the word "yes" to appear under the colour with the other colours blank.

Help appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

you can not have spaces in form element names:
name="Custom Back Plate Colour"

is an invalid name.

Sign in to reply to this post

alan388364

Radio Buttons now working

Thank you for your reply Jason,

I will try that but I got the form to work correctly without do that by removing the columns from the table and only putting the binding in once. That way I only got one reply, not the same answer in each column. But I will try making the changes you suggest using a table and see how that works.

thanks again.

Sign in to reply to this post

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...