Reputation: 33
<?php echo $this->form->getElement("logo"); ?>
<div id="BrowserVisible">
<input type="text" id="halal" />
<input type="button" value="Upload" id="button" />
</div>
(form->getElement("logo"); ?>)field is genrated by zend form, when i select the image file from PC, the upload file path or file name is show in input field, that also copy in (<input type="text" id="halal" />
), how can i do that.
Tahnks in advanced
Upvotes: 0
Views: 136
Reputation: 1528
Try to change your code with this :
<?php echo $this->form->get("logo"); ?>
Upvotes: 1