Need help with checkbox

  • theshangsta
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Aug 28, 2009
  • Posts: 6
  • Status: Offline

Post September 4th, 2009, 6:35 am

Hello there
Bit of a problem here; I have a html form with a agree/disagree checkbox that needs to be required before submission.

I've made several text fields required no problem, and I know I can use a somewhat simple java script do achieve what I want, but I would rather write it into my existing PHP script......i've tried to make it required the same way I have my text fields, but when I do that, it errors(with my error msg for an unchecked box) every time i try to submit, whether the checkbox is checked or not


please help :mrgreen:
Moderator Remark: Edited - please avoid the use of excessive emoticons
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 4th, 2009, 6:35 am

  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post September 4th, 2009, 9:31 am

Can you share the bits of code that you've got thus far? It would be somewhat easier to show you how to do it in your code than building an example from scratch.
I'd love to change the world, but they won't give me the source code.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 223 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.