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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mutiple submit buttons in one form...

Status
Not open for further replies.

ml23sh

Programmer
Jul 13, 2001
11
US
Hi everyone,
I'm working with one form and when I press the submit button in the form all the information in the database is returned. I want to have another submit button in the same form that, when pressed, will only return information that was added to the database on the current date. For example, today is December 19. If there are 50 entires in the database and I hit the submit button, 50 things will be returned. If I hit the Submit Today's button, I only want the things submitted on December 19 to be returned. Any suggestions?

-Matt
 
You need to use a generic button, and tie javascript functions to each button. That way, (in the functions), only the data you want called/submitted is processed. "The surest sign that intelligent life exists elsewhere in the universe is that it has never tried to contact us"
Bill Watterson, Calvin & Hobbes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top