Welcome Guest, Not a member yet? Register   Sign In
Update Form Validation
#6

[eluser]ramm[/eluser]
Hello.

Maybe this will help.

Code:
<?php echo form_input('email', set_value('email', $user->email)); ?>

You will use the set_value() function, the first parameter ('email') will repopulate the fields when you have errors on send, and the second parameter ($user->email) will be the default data to populate the form on load.


Messages In This Thread
Update Form Validation - by El Forum - 02-24-2011, 11:21 AM
Update Form Validation - by El Forum - 02-24-2011, 12:33 PM
Update Form Validation - by El Forum - 02-24-2011, 01:12 PM
Update Form Validation - by El Forum - 02-25-2011, 01:07 PM
Update Form Validation - by El Forum - 02-25-2011, 05:20 PM
Update Form Validation - by El Forum - 02-25-2011, 05:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB