![]() |
How To Show Already The Name Of Uploaded File Instead Of Showing "No File Selected"? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: How To Show Already The Name Of Uploaded File Instead Of Showing "No File Selected"? (/showthread.php?tid=77148) |
How To Show Already The Name Of Uploaded File Instead Of Showing "No File Selected"? - FJ22 - 07-25-2020 Hi, I have uploaded the file and now I want to show it in edit view. I know how to just echo the name below but I want to show it instead of showing: No file selected. I want to do this because each time I open the edit view, the file uploaded does not show and when I submit the form of edit view, the file is empty. This is my code in edit view: Code: <div class="form-group"> Usually the value would be used in this case but that does not work. From what I have read, the value is not used in this case for security reasons. But is there any way to achieve what I am trying to do? Any advice would be very helpful. Many thanks |