Welcome Guest, Not a member yet? Register   Sign In
The set_value() can't use with teyp="file"?(Solved)
#3

[eluser]danmontgomery[/eluser]
You can't re-populate file inputs. This isn't a codeigniter limitation, but an HTML limitation (if we're calling it a limitation, which I don't really think it is). Regardless, set_value() checks POST data, and uploaded files are in $_FILES, not $_POST.

If you want to repopulate a file upload field, you would need to store the file regardless of form validation and note that a file has been uploaded another way.


Messages In This Thread
The set_value() can't use with teyp="file"?(Solved) - by El Forum - 03-09-2011, 03:17 AM
The set_value() can't use with teyp="file"?(Solved) - by El Forum - 03-09-2011, 05:23 AM
The set_value() can't use with teyp="file"?(Solved) - by El Forum - 03-09-2011, 05:52 AM
The set_value() can't use with teyp="file"?(Solved) - by El Forum - 03-09-2011, 08:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB