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

Submit Button Value

Status
Not open for further replies.

powahusr

Technical User
Jan 22, 2001
240
US
Is it possible for the "Submit" Button to contain some kind of value so that when the form is submitted, the specified value can be displayed in an action page through the standard "Form.WhateverSubmitButtonValueSpecified" format?
 
The value of the submit button is the name that appears on the button. You could place an onSubmit() function in your form tag that runs through another function that could set the value of a hidden form tag. This would give you a lot of flexibility as far as the range and type of value(s) yo want to pass through the submit button.

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top