
September 2nd, 2004, 01:20 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
How do I redirect a URL from a CFFORM submit java?
How can I redirect URL from a Submit?
(Lynn Keen )
09/02/04 12:48
I have a form process whereby once the user has entered the form, the admin gets an email saying that the form has been entered.
The admin then goes to index_reg.cfm where they click on Approve/Deny to approve or deny the request.
At the bottom of the request I have a form submit button that I would like to use to submit and send a pass to the requestor, but once that button is pushed I would like the page to refresh back to the index_reg.cfm form. How do I tell it to redirect?
The form is posting to the page that passes the html pass document so I can't use it there.
(main page name is index_reg.cfm)
Currently when I press the submit button I have it 'approving and sending the pass the requestor' <input name="" type="submit" onClick="javascript:window.close();" value="Submit and Send Pass">
Do I put javascript:window.open(/index.reg.cfm);
Thanks! Lynn
|