[Vtigercrm-developers] Webforms Module [part-solved]

Alan Lord (News) alanslists at gmail.com
Wed Sep 5 23:43:08 PDT 2012



On 05/09/12 17:42, isimpkins-O4Zik4kB90z3fQ9qLvQP4Q at public.gmane.org wrote:

> In the file /modules/modules/Webforms/WebformsEditView.php
>
> at lin +- 32, I extended the array which innitially only contained
> 'Leads' to include the following:
>
> $category = getParentTab();
> $targetModules =
> array('Leads','Contacts','Campaigns','Jobcards4','Products','HelpDesk');

Nice - thanks for that.

>
> To change the code produced by the webform generator you can edit:
>
> /Smarty/templates/modules/Webforms/HTMLView.tpl

Excellent too! The auto-generated forms are rather plain...


One other thing I found was that I wanted to set a value of a dropdown 
as a hidden field. This works fine but you have to edit the form html. 
It would be nice to have a "hide field" checkbox on the webform designer 
screen perhaps?

Cheers

Al


-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list