Need help with checkbox

  • theshangsta
  • Newbie
  • Newbie
  • theshangsta
  • Posts: 6

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

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.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 118 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.