How to change a Form's Action ?

Results 1 to 4 of 4

Thread: How to change a Form's Action ?

  1. #1
    Regis Guest

    Default How to change a Form's Action ?

    Hello !<BR><BR>I&#039d like to have 2 Buttons that POST the same Form to 2 DIFFERENT asp files (the current file and an other one). Is this possible ?<BR><BR>I thought about using many Hidden inputs, but my Form is rather big, so if you know a better way...<BR><BR>For example, is it possible to change a Form&#039s Action at RunTime ?<BR><BR>Thanks for reading... and for answering ! :)<BR><BR>Regis

  2. #2
    Join Date
    Dec 1969
    Posts
    134

    Default RE: How to change a Form's Action ?

    Try using the &#060;input name=SUBMIT type=button OnClick=YourFunction()><BR><BR>You should have your form: &#060;form action=current.asp method=post><BR>

  3. #3
    Join Date
    Dec 1969
    Posts
    15

    Default RE: How to change a Form