Ask a Question related to Dreamweaver AppDev, Design and Development.
-
JLD.MX #1
Validating Radio Button w/ Different Groups
I've searched and cant find info this. I am enhancing a survey and one part of
the survey is to rate from 1-8 for different characteristics. I need it to
only pass the values 1-8 (most to least) and not duplicate, so I'm trying to
figure out how to validate if one of the other radio groups have a value
selected already.
Please see sample code. I appreciate any direction to a tut or code sample,
etc.
<tr>
<td colspan="2">Please rate the following knife characteristics in
order of importance:</td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="2" cellpadding="2" border="0">
<tr>
<td rowspan="9"><img src="/images/spacer.gif" width="98"
height="1" alt="" border="0"></td>
<td align="right">most</td>
<td align="center">1</td>
<td align="center">2</td>
<td align="center">3</td>
<td align="center">4</td>
<td align="center">5</td>
<td align="center">6</td>
<td align="center">7</td>
<td align="center">8</td>
<td rowspan="9" valign="top">least</td>
</tr>
<tr>
<td>Appearance</td>
<td><input type="radio" name="appearance" value="1"></td>
<td><input type="radio" name="appearance" value="2"></td>
<td><input type="radio" name="appearance" value="3" checked></td>
<td><input type="radio" name="appearance" value="4"></td>
<td><input type="radio" name="appearance" value="5"></td>
<td><input type="radio" name="appearance" value="6"></td>
<td><input type="radio" name="appearance" value="7"></td>
<td><input type="radio" name="appearance" value="8"></td>
</tr>
<tr>
<td>Blade style/shape</td>
<td><input type="radio" name="blade" value="1"></td>
<td><input type="radio" name="blade" value="2"></td>
<td><input type="radio" name="blade" value="3" checked></td>
<td><input type="radio" name="blade" value="4"></td>
<td><input type="radio" name="blade" value="5"></td>
<td><input type="radio" name="blade" value="6"></td>
<td><input type="radio" name="blade" value="7"></td>
<td><input type="radio" name="blade" value="8"></td>
</tr>
<tr>
<td>Locking mechanism</td>
<td><input type="radio" name="locking_mechanism" value="1"></td>
<td><input type="radio" name="locking_mechanism" value="2"></td>
<td><input type="radio" name="locking_mechanism" value="3"
checked></td>
<td><input type="radio" name="locking_mechanism" value="4"></td>
<td><input type="radio" name="locking_mechanism" value="5"></td>
<td><input type="radio" name="locking_mechanism" value="6"></td>
<td><input type="radio" name="locking_mechanism" value="7"></td>
<td><input type="radio" name="locking_mechanism" value="8"></td>
</tr>
<tr>
<td>Materials</td>
<td><input type="radio" name="materials" value="1"></td>
<td><input type="radio" name="materials" value="2"></td>
<td><input type="radio" name="materials" value="3" checked></td>
<td><input type="radio" name="materials" value="4"></td>
<td><input type="radio" name="materials" value="5"></td>
<td><input type="radio" name="materials" value="6"></td>
<td><input type="radio" name="materials" value="7"></td>
<td><input type="radio" name="materials" value="8"></td>
</tr>
<tr>
<td>Weight</td>
<td><input type="radio" name="weight" value="1"></td>
<td><input type="radio" name="weight" value="2"></td>
<td><input type="radio" name="weight" value="3" checked></td>
<td><input type="radio" name="weight" value="4"></td>
<td><input type="radio" name="weight" value="5"></td>
<td><input type="radio" name="weight" value="6"></td>
<td><input type="radio" name="weight" value="7"></td>
<td><input type="radio" name="weight" value="8"></td>
</tr>
<tr>
<td>Price</td>
<td><input type="radio" name="price" value="1"></td>
<td><input type="radio" name="price" value="2"></td>
<td><input type="radio" name="price" value="3" checked></td>
<td><input type="radio" name="price" value="4"></td>
<td><input type="radio" name="price" value="5"></td>
<td><input type="radio" name="price" value="6"></td>
<td><input type="radio" name="price" value="7"></td>
<td><input type="radio" name="price" value="8"></td>
</tr>
<tr>
<td>Brand</td>
<td><input type="radio" name="brand" value="1"></td>
<td><input type="radio" name="brand" value="2"></td>
<td><input type="radio" name="brand" value="3" checked></td>
<td><input type="radio" name="brand" value="4"></td>
<td><input type="radio" name="brand" value="5"></td>
<td><input type="radio" name="brand" value="6"></td>
<td><input type="radio" name="brand" value="7"></td>
<td><input type="radio" name="brand" value="8"></td>
</tr>
<tr>
<td>Collectibility</td>
<td><input type="radio" name="collectibility" value="1"></td>
<td><input type="radio" name="collectibility" value="2"></td>
<td><input type="radio" name="collectibility" value="3"
checked></td>
<td><input type="radio" name="collectibility" value="4"></td>
<td><input type="radio" name="collectibility" value="5"></td>
<td><input type="radio" name="collectibility" value="6"></td>
<td><input type="radio" name="collectibility" value="7"></td>
<td><input type="radio" name="collectibility" value="8"></td>
</tr>
</table>
</td>
</tr>
JLD.MX Guest
-
validating radio group button
Hello everybody, I want to validate radio group button in dream weaver...How can I do that? -
CFForm and validating radio buttons
I have a Flash CFForm that contains some radio buttons that I want to validate. I have specified the radio buttons as required and entered an error... -
Validating Form Radio Buttongroup
Hi guys and gals, I've got a cfform which contains radiobutton groups. I want to start the form with nothing in the group checked, but on... -
Reapeating Radio Groups
Do i need to use an insert record loop? -
Radio Button Help me please!
Hi I need help quick! let me explain my problem: Ičve made a form in flash with textfields and radio buttons. It submits the data from the...



Reply With Quote

