[Bootstrap] Hidden input messing with checkbox

"Cyril Ferlicot D." <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi!

I am using bootstrap for a university project and someone of my team is
making mockups and I reproduce them with Seaside. But I have a problem
with checkboxes.

He gave me this code:

<div class="checkbox">
  <input type="checkbox" id="question1Answer1">
  <label for="question1Answer1">
    Aenean semper rutrum nisi.
  </label>
</div>


But seaside generate this:

<div class="checkbox">
  <input type="checkbox" name="10" id="question1Answer1">
  <input type="hidden" name="11">
  <label for="question1Answer1">
    Aenean semper rutrum nisi.
  </label>
</div>


Because of the hidden input I cannot check the checkbox. If I remove it
in the DOM, I can.

I think I must not be the first to have this problem. Does someone have
a workaroud?

Thanks!

-- 
Cyril Ferlicot

http://www.synectique.eu

2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYG7SxAAoJEBzpUtxBqUIDETsQAIlhAahzazKnZX6wOTR9qrUK
XtqyYPoDdCU75RUKYzYLQVvKoUqUsidhaWiGgZRBwWwlkA72Jql8FknDeVL290ng
okLcB5Ft3kICbO4x1aPs3QEKlHVk3LRDnvnqK3jsZum+fJJIaoFXd32DXGa07dn9
mr8ZivoTFC908V4CQ3juyrp7SFA6wLsBJupsitOZ9YUeGHeHaIYxI7Iz2+UoQh+F
ITMUrFeHlgEeDQPeBttjbIozEZJKIcXVypu4U7/NZBrf9YMMMo23TCEH+kPGVjdR
HqN1GWXpu/ZFDzYLtsgQBZWq7BsGuBHDFHnRFsxDf1hLV5d7qd2eJm2xn2GqXUOa
GMexSUNNTrZdBMvJEuRYXXKtXVpc6FC3RNTWgQxEqHgZOFiqNKfo/syWH76TkTOy
ifI26i3lMZZzOATFyZjVOmi6TOAq4fVbsNT86Svq/UHJ41uCwFA5bG54txFnE22/
BHT9vkrWtevaiyAEEhBRxIlw3+pshbuyBOGEAE7z59L3zGArjoMPXVxn/Hq0tKao
5Q+qO3rmU9sZt3Qn69LiHHr0QocrLjEaeKITvXuVCwXaP/xTuzz12dPr6FAwvBnP
lM21a2Hsc9qTfAXdYYndugapcC74fFincQwOu/G2Ee+SFmX6eYF8ipvXOgD1lTE3
VAIy4JC6Ezu2BJ4rzgSH
=gmf+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.