<div>Hi,</div><div><br></div><div>Today our support team posed a challenge to design webform for capturing Leads with the following ability:</div><div><ol><li>Leads module has custom fields that needs to be taken care.</li>

<li>The webform should be portable across vtiger CRM instances.</li></ol><div>With existing Webforms module (post.php) Requirement 1, was sort of easy to be handled.</div></div><div>However, Requirement 2 was hard to meet in current design.</div>

<div><br></div><div>The limitation was Weforms/post.php allowed only &quot;fieldname&quot; of module, </div><div>which (could) change for custom field on every setup!</div><div><br></div><div>We extended webforms_getUserData API (in modules/Webforms/post.php - see attachment) to adress both the requirements.</div>

<div><br></div><div>This enables webform designer to specify the form element name as: &quot;fieldname&quot; or &quot;label:fieldlabel&quot;</div><div><br></div><div>For standard fields, use of &quot;fieldname&quot; will continue to work and for custom fields, </div>

<div>use of &quot;label:fieldlabel&quot; will be handy to that can work across different setups</div><div>as long as the fieldlabel are consistently used (irrespective of dynamic fieldname).</div><div><br></div><div>Regards,</div>

<div>Prasad</div>vtiger Team<div><br clear="all"><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/#!/vtigercrm" style="color:rgb(0, 0, 204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0, 0, 204)" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" style="color:rgb(0, 0, 204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0, 0, 204)" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" style="color:rgb(0, 0, 204)" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" style="color:rgb(0, 0, 204)" target="_blank">Website</a></span><br>


</div>