Welcome Guest, Not a member yet? Register   Sign In
Using form validation on edit form and having form re-population?
#4

[eluser]mattpointblank[/eluser]
Try this:

Code:
<input type="text" name="email" value="<?php echo set_value('email', $user['email']); ?>" />

First time you load the form it'll show the $user['email'] value from your database. If you change this value then submit the form (but make a validation error somewhere) it'll remember the updated value you changed.


Messages In This Thread
Using form validation on edit form and having form re-population? - by El Forum - 04-29-2010, 06:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB