views:

41

answers:

0

Hi guys,

I am trying to build a page with a form for a friends hockey blog. He was hoping to have a contest that allows his users to submit their selections for Team Canada's Olympic roster. I attempted to create this form with checkboxes in Macromedia. It basically seems to work, and when I add formmail information the results are successfully transmitted. The problem I am experiencing is when the user attempts to select his checkboxes. When the seventh box under the forwards heading is checked it proceeds to be unchecked and then check on all subsequent selections. Can you please let me know if you have any ideas on a solutions. Thanks so much!

Html:

    <html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Roster</title>
<style type="text/css">
<!--
.style2 {
    font-family: "Century Gothic";
    font-weight: bold;
    font-size: 18px;
}
.style3 {font-family: "Century Gothic";
    font-weight: bold;
}
.style5 {font-size: 12px; font-weight: bold; font-style: italic; font-family: "Century Gothic"; }
.style6 {font-family: "Century Gothic"}
.style1 {font-size: 12px;
    font-weight: bold;
    font-style: italic;
}
.style8 {
    font-family: "Century Gothic";
    font-weight: bold;
    font-size: 20px;
}
.style9 {font-family: "Century Gothic"; font-size: 20px; }
.style10 {color: #FFFFFF}
-->
</style>
</head>

<body>
<p class="style2">Team Canada Roster Contest</p>
<form id="form1" name="form1" method="post" action="">
  <p>&nbsp;</p>
  <p>
    <label><span class="style8">Name:</span>
    <input type="text" name="Name:" id="Name:" />
    </label>
  </p>
  <p class="style9">
    <label><strong>Email:</strong>
    <input type="text" name="Email:" id="Email:" />
    </label>
  </p>
  <p class="style9">
    <label></label>
    <label><span class="style10">Submit</span> 
    <input type="submit" name="Submit" id="Submit" value="Submit" />
    </label>
  </p>
  <p>&nbsp;</p>
  <table width="652" border="5" bordercolor="#FF9900">
    <tr>
      <th width="206" align="left" valign="top" bgcolor="#CCCCCC" scope="col"><p><span class="style3">Forwards</span><br />
              <span class="style5">Please select 13</span></p>
          <p>
            <label><span class="style6">Sidney Crosby</span>
            <input type="checkbox" name="Sidney Crosby" id="Sidney Crosby" />
            <span class="style6">            </span></label>
            <span class="style6"><br />
            <label>Jordan Staal            </label>
            <label>
            <input type="checkbox" name="Jordan Staal" id="Jordan Staal" />
            </label>
            <br />
            <label>Mike Richards
            <input type="checkbox" name="Mike Richards" id="Mike Richards" />
</label>
            <br />
            <label>Jeff Carter
            <input type="checkbox" name="Jeff Carter" id="Jeff Carter" />
</label>
            <br />
            <label>Simon Gagne            </label>
            <label>
            <input type="checkbox" name="Simon Gagne" id="Simon Gagne" />
            </label>
            <br />
            <label>John Tavares            </label>
            <label>
            <input type="checkbox" name="John Tavares " id="John Tavares " />
            </label>
            <br />
            <label>Martin St. Louis
            <input type="checkbox" name="Martin St. Louis" id="Martin St. Louis" />            
            <br />
              Eric Staal
              <input type="checkbox" name="Eric Staal" id="Eric Staal" />
            <br />
              Travis Zajac
              <input type="checkbox" name="Travis Zajac" id="Travis Zajac" />
            <br />
              Nathan Horton
              <input type="checkbox" name="Nathan Horton" id="Nathan Horton" />
            <br />
              Stephen Weiss
              <input type="checkbox" name="Stephen Weiss " id="Stephen Weiss " />
              <br />
              Vincent Lecavalier
              <input type="checkbox" name="Vincent Lecavalier " id="Vincent Lecavalier " />
              <br />
              Steven Stamkos
              <input type="checkbox" name="Steven Stamkos" id="Steven Stamkos" />
            <br />
              Marc Savard
              <input type="checkbox" name="Marc Savard" id="Marc Savard" />
            <br />
              Milan Lucic
              <input type="checkbox" name="Milan Lucic" id="Milan Lucic" />
            <br />
              Michael Cammalleri
              <input type="checkbox" name="Michael Cammalleri " id="Michael Cammalleri " />
              <br />
              Derek Roy
              <input type="checkbox" name="Derek Roy" id="Derek Roy" />
            <br />
              Mike Fisher
              <input type="checkbox" name="Mike Fisher" id="Mike Fisher" />
            <br />
              Jason Spezza
              <input type="checkbox" name="Jason Spezza " id="Jason Spezza " />
              <br />
              Shawn Horcoff
              <input type="checkbox" name="Shawn Horcoff" id="Shawn Horcoff" />
            <br />
              Dustin Penner
              <input type="checkbox" name="Dustin Penner " id="Dustin Penner " />
              <br />
              Jarome Iginla
              <input type="checkbox" name="Jarome Iginla " id="Jarome Iginla " />
              <br />
              Ryan Smyth
              <input type="checkbox" name="Ryan Smyth " id="Ryan Smyth " />
              <br />
              Ryan Getzlaf
              <input type="checkbox" name="Ryan Getzlaf " id="Ryan Getzlaf " />
              <br />
              Corey Perry
              <input type="checkbox" name="Corey Perry " id="Corey Perry " />
              <br />
              Joe Thornton
              <input type="checkbox" name="Joe Thornton" id="Joe Thornton" />
            <br />
              Patrick Marleau
              <input type="checkbox" name="Patrick Marleau" id="Patrick Marleau" />
            <br />
              Dany Heatley
              <input type="checkbox" name="Dany Heatley" id="Dany Heatley" />
            <br />
              Shane Doan
              <input type="checkbox" name="Shane Doan " id="Shane Doan " />
              <br />
              Brad Richards
              <input type="checkbox" name="Brad Richards " id="Brad Richards " />
              <br />
              Brenden Morrow
              <input type="checkbox" name="Brenden Morrow" id="Brenden Morrow" />
            <br />
              Brad Boyes
              <input type="checkbox" name="Brad Boyes" id="Brad Boyes" />
            <br />
              Andy McDonald
              <input type="checkbox" name="Andy McDonald" id="Andy McDonald" />
            <br />
              Jason Arnott
              <input type="checkbox" name="Jason Arnott " id="Jason Arnott " />
              <br />
              J.P. Dumont
              <input type="checkbox" name="J.P. Dumont " id="J.P. Dumont " />
              <br />
              Rick Nash
              <input type="checkbox" name="Rick Nash " id="Rick Nash " />
              <br />
              Dan Cleary
              <input type="checkbox" name="Dan Cleary " id="Dan Cleary " />
              <br />
              Jonathan Toews
              <input type="checkbox" name="Jonathan Toews" id="Jonathan Toews" />
            <br />
            Patrick Sharp            </label>
        </span>
            <label>
            <input type="checkbox" name="Patrick Sharp " id="Patrick Sharp " />
            </label>
      </p></th>
      <th width="213" align="left" valign="top" bgcolor="#CCCCCC" scope="col"><p class="style3">Defencemen<br />
              <span class="style1">Please select 7</span></p>
          <p> <span class="style6">
            <label>Duncan Keith</label>
            </span><span class="style3">
            <label>
            <input type="checkbox" name="Duncan Keith" id="Duncan Keith" />
            </label>
            </span><span class="style6"><br />
            <label>Brent Seabrook
              <input type="checkbox" name="Brent Seabrook" id="Brent Seabrook" />
            </label>
            <br />
            <label>Brian Campbell
              <input type="checkbox" name="Brian Campbell" id="Brian Campbell" />
            </label>
            <br />
            <label>Shea Weber
              <input type="checkbox" name="Shea Weber" id="Shea Weber" />
            </label>
            <br />
            <label>Dan Hamhuis
              <input type="checkbox" name="Dan Hamhuis" id="Dan Hamhuis" />
            </label>
            <br />
            <label>Drew Doughty
              <input type="checkbox" name="Drew Doughty" id="Drew Doughty" />
            </label>
            </span><span class="style6"><br />
            <label>Dan Boyle
              <input type="checkbox" name="Dan Boyle" id="Dan Boyle" />
            </label>
            <br />
            <label>Stephane Robidas
              <input type="checkbox" name="Stephane Robidas" id="Stephane Robidas" />
            </label>
            <br />
            <label>Scott Niedermayer
              <input type="checkbox" name="Scott Niedermayer" id="Scott Niedermayer" />
            </label>
            <br />
            <label>Sheldon Souray
              <input type="checkbox" name="Sheldon Souray" id="Sheldon Souray" />
            </label>
            <br />
            <label>Dion Phaneuf
              <input type="checkbox" name="Dion Phaneuf" id="Dion Phaneuf" />
            </label>
            <br />
            <label>Robyn Regehr
              <input type="checkbox" name="Robyn Regehr" id="Robyn Regehr" />
            </label>
            <br />
            <label>Jay Bouwmeester
              <input type="checkbox" name="Jay Bouwmeester" id="Jay Bouwmeester" />
            </label>
            <br />
            <label>Brent Burns
              <input type="checkbox" name="Brent Burns" id="Brent Burns" />
            </label>
            <br />
            <label>Tyler Myers
              <input type="checkbox" name="Tyler Myers" id="Tyler Myers" />
            </label>
            <br />
            <label>Chris Phillips
              <input type="checkbox" name="Chris Phillips" id="Chris Phillips" />
            <br />
              Dennis Wideman
              <input type="checkbox" name="Dennis Wideman" id="Dennis Wideman" />
              <br />
              Mike Green
              <input type="checkbox" name="Mike Green" id="Mike Green" />
              <br />
              Chris Pronger
              <input type="checkbox" name="Chris Pronger" id="Chris Pronger" />
              <br />
              Marc Staal
              <input type="checkbox" name="Marc Staal" id="Marc Staal" />
              <br />
              Francois Beauchemin
              <input type="checkbox" name="Francois Beauchemin" id="Francois Beauchemin" />
            </label>
        </span></p>
          <p>
            <label></label>
            <br />
          </p></th>
      <th width="203" align="left" valign="top" bgcolor="#CCCCCC" scope="col"><p><span class="style3">Goaltenders<br />
                <span class="style1">Please select 3</span></span></p>
          <p>
            <label><span class="style6">Roberto Luongo
              <input type="checkbox" name="Roberto Luongo" id="Roberto Luongo" />
            </span></label>
            <span class="style6"><br />
            <label>Martin Brodeur
              <input type="checkbox" name="Martin Brodeur" id="Martin Brodeur" />
            </label>
            <br />
            <label>Marc-Andre Fleury
              <input type="checkbox" name="Marc-Andre Fleury" id="Marc-Andre Fleury" />
            </label>
            <br />
            <label>Cam Ward
              <input type="checkbox" name="Cam Ward" id="Cam Ward" />
            </label>
            <br />
            <label>Steve Mason
              <input type="checkbox" name="Steve Mason" id="Steve Mason" />
            </label>
            <br />
            <label>Marty Turco
              <input type="checkbox" name="Marty Turco" id="Marty Turco" />
            </label>
        </span></p></th>
    </tr>
  </table>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</form>
<p class="style2">&nbsp;</p>
</body>
</html>