[Vtigercrm-commits] [vtiger development] #7777: vTiger Webforms Fields not Saving
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Oct 8 00:38:34 UTC 2013
#7777: vTiger Webforms Fields not Saving
---------------------------+------------------------
Reporter: dennisdigital | Owner: developer
Type: defect | Status: new
Priority: trivial | Milestone: Unassigned
Component: vtigercrm | Version: 5.4.0
Severity: Medium | Keywords:
---------------------------+------------------------
It seems that the installer does not create the table
vtiger_webforms_field
STEPS TO RECREATE:
Fresh install of vTiger6 (or 5.4) (db and site code)
Create a webform
Add fields
Leads Field Information fields do not save
SOLUTION:
{{{
CREATE TABLE `vtiger_webforms_field` (
`id` int(19) NOT NULL AUTO_INCREMENT,
`webformid` int(19) NOT NULL,
`fieldname` varchar(50) NOT NULL,
`neutralizedfield` varchar(50) NOT NULL,
`defaultvalue` varchar(200) DEFAULT NULL,
`required` int(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `webforms_webforms_field_idx` (`id`),
KEY `fk_1_vtiger_webforms_field` (`webformid`),
KEY `fk_2_vtiger_webforms_field` (`fieldname`),
CONSTRAINT `fk_1_vtiger_webforms_field` FOREIGN KEY (`webformid`)
REFERENCES `vtiger_webforms` (`id`) ON DELETE CASCADE,
CONSTRAINT `fk_3_vtiger_webforms_field` FOREIGN KEY (`fieldname`)
REFERENCES `vtiger_field` (`fieldname`) ON DELETE CASCADE
)
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7777>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list