Log in

View Full Version : link in acceptance terms



philFX
03-21-2006, 12:38 AM
This may seem easy but I'm new to this scripting stuff. I looked at the acceptance terms script, http://dynamicdrive.com/dynamicindex16/acceptterm.htm , and after you hit submit it sends me back to the index(where i put the terms).

How can I make it so when they hit submit,it will take them to a specific page? thanks in advance

Samsoske
03-21-2006, 12:45 AM
I have been wondering about the same thing, i even posted it in one of my threads, but i think the only way to do this is :


See next reply

Samsoske
03-21-2006, 12:46 AM
<input name="_thanksurl" type="hidden" value="http://www.example.com/thankyou.html">
This should take you to the thankyou.html part of your website on submit..

If i am correct...

philFX
03-21-2006, 01:08 AM
Where in the script would I put that? Because, I tried it in multiple places and it didn't work. Sry for the annoyance.

Twey
03-21-2006, 03:42 PM
No, that's completely useless. And why did you split it across two posts? :-\
Set the action attribute on the form to the page to go to; for example,
<form action="thankyou.html" method="post" onsubmit="return defaultagree(this);">