<div dir="ltr">Hi Alan,<div><br></div><div>As display-type of field is deciding whether the field is enabled for edit in detail-view. As we can't do any changes regarding display-type it's better we overwrite api's related to make field editable, in module specific field.php and return value according to dependent fields on related field-value.</div><div><br></div><div>For specific module you need to overwrite field model file.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 21, 2015 at 2:26 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 20/01/15 22:58, Jonathan Sardo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need to do the same, I think we have to do this using jQuery and<br>
"disable" attribute.<br>
</blockquote>
<br></span>
I thought about this approach but my concern was that this method could introduce a delay on-screen whereby fields might appear to be (or possibly even actually be) editable for a brief time during the page load.<br>
<br>
Overriding the isEditable() function should do the trick but I am trying to minimise the number of files that need overriding.<br>
<br>
I was hoping Prasad or Uma might have some suggestions to improve what I see as the only way right now:<br>
<br>
{Detail,Edit}RecordStructure.<u></u>php->Block.php->Field.php<br>
<br>
It would be interesting to see this approach using Ajax/Javascript too. Am I mistaken in the "timing" issue I foresee?<br>
<br>
Thanks<br>
<br>
Al<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>