Welcome Guest, Not a member yet? Register   Sign In
Can't re-populate form field in "Edit" form [SOLVED]
#1

[eluser]KeyStroke[/eluser]
Hi,

I'm having a small issue here. I have an "Edit" form where I edit current posts. The problem is that I can't re-populate the form's fields since I have to initially populate it with the post's data from the database. So I end up with something like this:

Code:
<input type="text" name="title" value="<?=$title?>">
Which means I can't use $this->validation->title to re-populate this field in case of error (or so it seems).

Is there anyway around this?


Appreciate your help


Messages In This Thread
Can't re-populate form field in "Edit" form [SOLVED] - by El Forum - 05-03-2008, 03:10 AM
Can't re-populate form field in "Edit" form [SOLVED] - by El Forum - 05-03-2008, 04:24 AM
Can't re-populate form field in "Edit" form [SOLVED] - by El Forum - 05-03-2008, 06:17 AM
Can't re-populate form field in "Edit" form [SOLVED] - by El Forum - 05-03-2008, 07:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB