Retrieving radio button info from a form

B

Bob Richardson

My form has a group box into which I've place 4 radio button. The buttons
work correctly. When the form is submitted, all the other data in the form
is received, but not the results of this group box. Even though one of the
buttons has been selected, the result for all 4 buttons is blank. What's my
problem? I had expected to see "on" as a result for the button that had been
selected.

On the Option Button Properties for each button, the Group name is the same
("Rate"). On Validate, all 4 buttons say "on" for the Display Name, and the
Data Required box is checked on all 4.
 
J

Jim Buyens

The four radio buttons will act as one field, If, for
example, you coded:

<input type="radio" value="1" name="Rate">
<input type="radio" value="2" name="Rate">
<input type="radio" value="3" name="Rate">
<input type="radio" value="4" name="Rate">

the form handler will receive one field named Rate, and
its value will be 1, 2, 3, or 4.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
B

Bob Richardson

With your correction, I am now getting my confirmation form to show one line
for Rate, and it correctly shows the desired result. However, the email for
the form's answers does not include Rate?? It includes labels for all for
radio buttons, and they are blank.

Here's my coding:

<input type="radio" value="320 Early Mem Rate" name="Rate" id="fp1"><font
size="2">
<label for="fp1">$320 Early Bird WIWA Member
 
B

Bob Richardson

I found my answer. All the stored fields are listed in this statement:
<!--webbot bot="SaveResults" U-File......
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top