This example shows how to write a contact form using the CI form helper and the
The CI controller defines a form validation setup using the
form_validation library and renders a form view that uses the
form_validation library setup to apply a desired validation on the submitted data by the user. If it's a success, the CI controller will render a view page displaying a success message, otherwise it will render the view page with the form and the error messages will be displayed.
The URI for this example is
In order to ...