| Dan Vendel *GOF* 2004-04-26, 9:28 am |
| combat wombat wrote:
> how do you creat a link so that it only links if the form deatails are
> validated.
>
> i.e.
>
> user presses button , and the form is checke (all done)
>
> then the page is linked to a "success you form has been submitted" page.
>
Use e.g. Jaro's "Check form" extension. Apply it to the <form> tag:
http://www.yaromat.com/dw/?ex=Check%20Form%20MX
To get a success-page, you'll need to make sure that the form actually
sends, right? A regular "mailto" will not do since it relies on the
user's individual settings which are beyond your control. You need a
"formmail" script.
Check with your host. They usually have such available already. Or check
which script languages they support and find your own. Look at e.g.
www.hotscripts.com or the formmail tutorial link in my signature.
When you've installed the formmail script, THEN you can put a re-direct
tag in your form (assuming the formmail script doesn't do this for you).
--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
|