Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable submit button on one form if another form changes

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
Hi,

I've got a page that has two forms. Is it possible to make it so that when the page loads the first submit button is disabled and the second is enabled but as soon as you click any element in the first form it disables the second button and enables the first?

I've tried looking for examples but can't find anything like this.

Thanks very much

Ed
 
You'll want it so that if any item in the first form is filled in or checked, the second submit button is disabled, though, won't you? Won't you want the whole second form disabled as well? What if the person who starts filling in the first form decides they want to fill in the second form instead?

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top