Alan,<div><br></div><div>As a workaround, you can handle adding this attribute to form through Javascript.</div><div><br></div><div>Regards,</div><div>Prasad</div><div><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 6:31 PM, Alan Lord <span dir="ltr">&lt;<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 11/06/12 22:43, Joe Bordes wrote:<br>
&gt; If your problem is with $_FILE comming in empty it is because your form<br>
&gt; must have the multi part directive:<br>
&gt;<br>
&gt;    ENCTYPE=&quot;multipart/form-data&quot;<br>
&gt;<br>
&gt; look at Smary/templates/EditViewHidden.tpl<br>
<br>
</div>Thanks very much Joe,<br>
<br>
That helped a lot. I now have a working UI type 69 field in a custom<br>
module which also renders the image in Detail View like in the Contacts<br>
module :-)<br>
<br>
I have had to add some code to the DetailView.php of my module to<br>
intercept the $smarty-&gt;assign getBlocks() call as UI type 69 is not<br>
supported outside of Products or Contacts in the<br>
/include/utils/DetailViewUtils.php file...<br>
<br>
But at least I have done this without having to modify core vtiger code.<br>
<br>
Does anyone know if I can override the<br>
Smarty/templates/EditViewHidden.tpl file in a vtlib module too? It&#39;s<br>
only a minor change to line 84 to add the ENCTYPE... but it is a<br>
modification to core once again, which I would like to avoid if at all<br>
possible...<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>