A fresh install wont have the related to fields that I created. I'll give you the script to create them in your installation:<br><br><?php<br>require_once 'vtlib/Vtiger/Block.php';<br><br>//Can be any block you want<br>
$blockInstance = Vtiger_Block::getInstance(117);<br><br>$fieldInstance = new Vtiger_Field();<br>$fieldInstance->name = 'existentaccount';<br>$fieldInstance->label = 'Existent Account';<br>$fieldInstance->table = 'vtiger_leadscf';<br>
$fieldInstance->column = 'existent_account';<br>$fieldInstance->columntype = 'VARCHAR(255)';<br>$fieldInstance->uitype = 10;<br>$fieldInstance->typeofdata = 'V~O';<br><br>$blockInstance->addField($fieldInstance);<br>
<br>$fieldInstance->setRelatedModules(Array('Accounts'));<br><br>Run this script in your vtiger, access leads->edit view, select an account, set your cursor in a text field and press enter.<br><br>Cheers<br>
<br>Nicolas<br><div class="gmail_quote">2011/9/22 Joe Bordes <span dir="ltr"><<a href="mailto:joe@tsolucio.com">joe@tsolucio.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Quick test on my test install with firefox and I can't reproduce.<br>
Can you reproduce this behaviour online or in a fresh install?
Another browser?<br>
<br>
<br>
El 22/09/11 19:04, Nicolas Larcipretti escribió:
<blockquote type="cite"><div><div></div><div class="h5">Hey fellas,<br>
<br>
I've noticed that in the edit view, if you place the cursor in any
input text field and press "enter", every "related to" field in
the form is automatically erased. Anyone else noticed that? Is
there a work around to this? Or do I have to unbind the action
from the eraser button via jquery/prototype to solve this?<br>
<br>
Cheers<br>
<br>
Nicolas<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br>