Jump to content


disable submit button

  • Please log in to reply
1 reply to this topic

#1 lional

  • Members
  • PipPipPip
  • Advanced Member
  • 266 posts

Posted 21 June 2006 - 02:35 PM

I am trying to create form validation where the submit button will be disabled until all the input fileds and the textarea have been filled in, then it will be active
Is this possible
Any help will be appreciated



#2 dptr1988

  • Members
  • PipPipPip
  • Advanced Member
  • 372 posts

Posted 21 June 2006 - 08:08 PM

I think you could do that by loading the page with the submit button disabled. Then as each field is modified check all fields for valid content. Then after all fields are valid change the submit button to enabled. Shouldn't be very hard.

Need more help with your project? One of the thousands of programmers, web designers or artists at <a href="http://www.rentacode...d_6764522">Rent A Coder</a> would be happy to help.

Disclaimer: Free advice is usually worth what you paid for it. ( or at least when it's coming from me! )

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users