troubleshooting Question

Set Post form at run time in classic ASP

Avatar of mmalik15
mmalik15 asked on
ASPASP.NET
3 Comments1 Solution623 ViewsLast Modified:
In my ASP application on form submit, based on a certain selection inside the dropdownlist I want to post the input to another form. Please see the attached code. The form is posting data to "stage1end_journal_public.asp". But I want to change this form at runtime on a codition.
<FORM NAME="form" METHOD="POST" ACTION="stage1end_journal_public.asp" ONSUBMIT="return validate_form()">

<!-- #Include File="inc/journaldetails.htm" -->

    <TABLE WIDTH="640" CELLPADDING="0" CELLSPACING="0" BORDER="0">
      <TR VALIGN="TOP">
        <TD><HR SIZE="1" COLOR="#000080"> </TD>
      </TR>
    </TABLE>		  
    <TABLE WIDTH="640" CELLPADDING="0" CELLSPACING="0" BORDER="1" 
    BORDERCOLOR="#dfdfdf" BGCOLOR="#efefef">
      <TR>
        <TD>

<!-- Start of Nested Table -->
        
        <TABLE WIDTH="100%" CELLPADDING="4" CELLSPACING="0" BORDER="0">
          <TR>
            <TD width="100"><p><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="Javascript:history.go(-1);">BACK</a> | <a href="index.asp">EXIT</a></strong></font></p>
            </TD>
            <TD ALIGN="right" VALIGN="TOP">
              <div align="right">
                <INPUT TYPE="submit" VALUE="Submit to Library  &gt;&gt;">
              </div></TD>
          </TR>
        </TABLE>

<!-- Nested Table -->
        
        </TD>
      </TR>
    </TABLE>
    
  <P></P></FORM>
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros