Ask Felgall Home page
Your host:
Stephen Chapman
Stephen Chapman

Form Actions

Question: I have created my form, and validated it. But how do I assign it to a form handler like (CGI,PHP,MYSQL e.t.c)? I will like to also know how to create a confirmation page that enables a visitor to know that he has succefully filled the form: by displaying some or all data entered by a visitor.

Also, how do I create a page that tell a visitor that an error occure in processing of his form if he fails to enter a valide information?
Emmanuel Okaiwele

Answer: The form handler is assigned in the action attribute:


<form action="formhandler.cgi">

The form handler controls what error messages get displayed and/or success page. Depending on the particular one you use you may need to provide information in hidden fields in the form.

Related Articles

go to top

FaceBook Follow
Twitter Follow
Donate
Copyright © Felgall Pty Ltd