Welcome Guest, Not a member yet? Register   Sign In
Keep input value if form validation is wrong

Hi there,

I'm new to CodeIgnitor.

I've starting with forms.

In PHP I would add the following to an input value:

<?php if($_POST['name']) {

echo $_POST['name'];

} ?>

That way if the form input has an error then it doesn't all disappear on form submission

Is there any similar I can use when using the form helper?

Theme © iAndrew 2016 - Forum software by © MyBB