Using ASP Classic VBscript Dreamweaver CS3
I have one form that has three dropdown select lists that once selected and the submit button is clicked updates an SQL DB based on the info from the selections. I would also like to provide the user with another button (help) that takes them to a help screen based on the info in one of the dropdowns.
I have tried:
<script>
function OnButton1()
{
document.button1.action = “application.asp”
document.button1.target = “_new”; // Open in a new window
return true;
}
</script>
This only works if all dropdowns are selected. I only need the 2nd dropdown selected as the info provider for the help screen Request.form(“whatever”)
So I need a way to have two submit buttons for one form. Can this be done, and if so how? I appreciate any help on this.