Hi James,<br><br>In the file: modules/FieldFormulas/VTExpressionsManager.inc, modify the lines highlighted below:<br><br><span style="font-family: courier new,monospace;">foreach($fields as $field){</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    //Use the field name to figure out the custom field</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    <span style="background-color: rgb(255, 255, 153);">/*if(preg_match(&#39;/cf_\d+/&#39;, $field[&#39;name&#39;]) &amp;&amp;</span></span><br style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">
<span style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">    in_array($field[&#39;type&#39;][&#39;name&#39;], array(&#39;text&#39;, &#39;string&#39;,&#39;integer&#39;, &#39;double&#39;))){</span><br style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">
<span style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">        $arr[$field[&#39;name&#39;]] = getTranslatedString($field[&#39;label&#39;], $moduleName);</span><br style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">
<span style="font-family: courier new,monospace; background-color: rgb(255, 255, 153);">    }*/</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">            </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    <span style="background-color: rgb(255, 255, 102);">$arr[$field[&#39;name&#39;]] = getTranslatedString($field[&#39;label&#39;], $moduleName);</span></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">}</span><br><br>Please note, there are few limitations for the forumla being applied on the standard-fields, like for Mandatory, Assigned To, Created Time, Modified Time fields. Make sure not to set values on such fields this could make the CRM meta information to be stored in undesired way! <br>
<br>Regards,<br>Prasad<br>vtiger Team<br><br><div><span class="gmail_quote">On 11/9/09, <b class="gmail_sendername">James Mutuku</b> &lt;<a href="mailto:jnmutuku@gmail.com">jnmutuku@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I want to have a field formula that targets a non-custom firld. How do I achieve this?<br>
<br>_______________________________________________<br>
Reach hundreds of potential candidates - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com</a> <br></blockquote></div><br>