I have the following code with a% text_type% and a file type. See:
<form action="#" method="post" enctype="multipart/form-data">
Name file:
<input type="text" name="name" id="name"><br/><br/>
<input type="file" name="file" id="file">
</form>
I would like to populate the input text with the filename loaded in the input file . What better way to do this?