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

[eluser]Unknown[/eluser]
Hi there,

I'm new to CodeIgnitor.

I've starting with forms.

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

Code:
<?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?


Messages In This Thread
Keep input value if form validation is wrong - by El Forum - 09-24-2011, 06:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB