title: Custom Field is not inserting data to the database in vtiger
body: <p>I have created a custom field.    </p>
  
  <pre><code>$field4 = new Vtiger_Field();     
  $field4-&gt;name = 'PriceBook';    
  $field4-&gt;label= 'Price Book';   
  $field4-&gt;table = 'vtiger_account';   
  $field4-&gt;column = 'pricebook_id';     
  $field4-&gt;columntype = 'VARCHAR(100)';     
  $field4-&gt;uitype = 10;     
  $field4-&gt;typeofdata = 'V~O';     
  $field4-&gt;helpinfo = 'Relate to an existing contact';     
  $block-&gt;addField($field4);      
  $field4-&gt;setRelatedModules(Array('PriceBooks'));
  </code></pre>
  
  <p>But this field doesn't submit any value to the database.
  what am I missing here.</p>