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

Form with multiple actions

Status
Not open for further replies.

Garabaldi

Technical User
Jan 16, 2002
61
0
0
CA
Hello World!!

I'm having some issues with a form I'm developing.

Depending on whether the user has completed the form I'd want the action to send the form to either Page1 (if the form is completed) or Page2 (if they are still working on it and need to go away).

Anyone know of a way to do this?

Thanks,
 
Might be easier to send it twice.

There's always a better way...
 
what language are you using?

php, asp, cf, jsp, spanish, french, german, italian, russian

how old are you?

where do you live?

what im trying to say is that it is possible but i need to know on what kind of a system is you site running on

sometime you just gotta say "WHAT THE @#*% !!"
 
i'm writing it in php (english)
I'm 29 yrs old
I live in Toronto
Its running off of an apache server
"WHAT THE @#*% !!"
 
its easy.
use javascript

<form name=&quot;form1&quot; action=&quot;test.php&quot;>


according to the info:
function SubmitFrm()
{
//chnage the action accordingly.
document.form1.action=&quot;pagename&quot;
}


do u know anything about javascript. if not i cn give u some more code...

Known is handfull, Unknown is worldfull
 
vbkris,

I would appreciate any more info (and code... the more code the more appreciation) you could possibly provide...

Thanks very much for your assistance...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top