<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Nope, can't reproduce, works correctly for me.<br>
    <br>
    Joe<br>
    TSolucio<br>
    <br>
    <br>
    El 22/09/11 19:35, Nicolas Larcipretti escribi&oacute;:
    <blockquote
cite="mid:CAK10WeAOTZ3nU-0K33soPrGc5=We7wmA7oORKd0nZw6z1GsjKA@mail.gmail.com"
      type="cite">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>
      &lt;?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-&gt;name = 'existentaccount';<br>
      $fieldInstance-&gt;label = 'Existent Account';<br>
      $fieldInstance-&gt;table = 'vtiger_leadscf';<br>
      $fieldInstance-&gt;column = 'existent_account';<br>
      $fieldInstance-&gt;columntype = 'VARCHAR(255)';<br>
      $fieldInstance-&gt;uitype = 10;<br>
      $fieldInstance-&gt;typeofdata = 'V~O';<br>
      <br>
      $blockInstance-&gt;addField($fieldInstance);<br>
      <br>
      $fieldInstance-&gt;setRelatedModules(Array('Accounts'));<br>
      <br>
      Run this script in your vtiger, access leads-&gt;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">&lt;<a
            moz-do-not-send="true" href="mailto:joe@tsolucio.com">joe@tsolucio.com</a>&gt;</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?&nbsp; Another browser?<br>
            <br>
            <br>
            El 22/09/11 19:04, Nicolas Larcipretti escribi&oacute;:
            <blockquote type="cite">
              <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 moz-do-not-send="true" href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
            </blockquote>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          <a moz-do-not-send="true" href="http://www.vtiger.com/"
            target="_blank">http://www.vtiger.com/</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
  </body>
</html>