No, there's nothing there that would explain it. I'd like to blame it on 
the font tags, but I can't;)

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

Steve LaBadie wrote:
> This is the script to check for 3 checked boxes:
> 
> <script>
> function is_checked() {
> var formObj = document['internships']['fac'];
> var count = 0;
> for (i=0;i<formObj.length; i++) {
> if(formObj[i].type == 'checkbox')
> if(formObj[i].checked)
> count++;
> }
> if (count < 3) {
> return false;
> }else {
> return true;
> }
> }
> function val(){
> if (!is_checked()){
> alert('You Must Choose 3 Faculty Supervisors');
> return false;
> }else {
> return true;
> }
> }
> </script>
> 
> 
> <tr><td align="right" valign="top"><strong>Faculty
> Supvisor:</strong>&nbsp;<br /><font style="color: #BD2925; font-size:
> xx-small;">(Choose 3)</font>&nbsp;</td><td>
> <input type="checkbox" name="fac" value="Joseph Ashcroft" />&nbsp;Joseph
> Ashcroft<br />
> <input type="checkbox" name="fac" value="Paul Lippert" />&nbsp;Paul
> Lippert<br />
> <input type="checkbox" name="fac" value="Charles Warner" />&nbsp;Charles
> Warner<br />
> <input type="checkbox" name="fac" value="Marcia Godich" />&nbsp;Marcia
> Godich<br />
> <input type="checkbox" name="fac" value="Andrea McClanahan"
> />&nbsp;Andrea McClanahan</td>
> <td><input type="checkbox" name="fac" value="Glenn Geiser-Getz"
> />&nbsp;Glenn Geiser-Getz<br />
> <input type="checkbox" name="fac" value="Robert McKenzie" />&nbsp;Robert
> McKenzie<br />
> <input type="checkbox" name="fac" value="Wenji Yan" />&nbsp;Wenjie
> Yan<br />
> <input type="checkbox" name="fac" value="Patricia Kennedy"
> />&nbsp;Patricia Kennedy<br />
> <input type="checkbox" name="fac" value="Cem Zeytinoglu" />&nbsp;Cem
> Zeytinoglu
> </td></tr>
> 
> Action page:
> 
> Faculty Supervisor: <cfloop list="#form.fac#" index="f"
> delimiters="crlf">#f#</cfloop>
> 
> 
> Steve LaBadie, Web Manager
> East Stroudsburg University
> 200 Prospect St.
> East Stroudsburg, Pa 18301
> 570-422-3999
> [EMAIL PROTECTED]
> http://www.esu.edu
> -----Original Message-----
> 
> Steve LaBadie wrote:
>> I have a group of 10 checkboxes where 3 have to be checked. I have a
> JS
>> script to validate this. The issue at hand is the values are not being
>> passed completely.
>>
>>  
>>
>> If you choose Robert Mckenzie the name is passed Robet Mkenzie, any
>> ideas would be appreciated.
>>
>>  
>>
>> Steve LaBadie, Web Manager
>> East Stroudsburg University
>> 200 Prospect St.
>> East Stroudsburg, Pa 18301
>> 570-422-3999
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
>> http://www.esu.edu <http://www.esu.edu> 
>>
>>  
>>
>>
>>
>>
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302004
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to