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

create a dtc button on the fly

Status
Not open for further replies.

frogggg

Programmer
Jan 17, 2002
182
US
Is there a way to make a dtc button on the fly?
I'm trying to validate a form made of dtc's. In the onClick server side event handler, I ran through all the fields, and if they were incorrectly filled in, I recreated the field and added one to a counter, otherwise I recreated the field with the value they entered included. At the end, if the counter variable was greater than one, display the recreated form, otherwise continue with the processing.

My question is, at the end of this form I need another submit button. It can't be a regular html button because it needs to call the server side event handler again. How do I make a server side button using vbscript?

Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top