Hi All!
The problem is in two places:
1) When you create new dropdown custom field there is bug in file :
modules/DynamicFields/templates/Fields/TemplateEnum.php
there is code
//correct code
function get_html_edit(){
$this->prepare();
$xtpl_var = strtoupper( $this->name);
return "<select title='{" . $xtpl_var."_HELP}' name=\"". $this->name . "\">{OPTIONS_".$xtpl_var. "}</select>";
}
////end of correct code
// incorrect code
function get_html_edit() {
$this->prepare();
$xtpl_var = strtoupper( $this->name);
return '<select name="'. $this->name . '[]" size="3" title="{' . $xtpl_var .'_HELP}" multiple="multiple">{OPTIONS_'. $xtpl_var. '}</select>';
}
//end of incorrect code
So when you create new dropdown custom field code for this field generates with errors like for multienum
2) If you want to fix current situation you have to change files with name 'EditView.html' in the modules directories. Please remove multienum word from select tag and change name of select tag from 'name[]' to 'name'
BTW: These files can be located in the folders custom/modules/....(Accounts,Meetings,Contacts etc.)
If you have any questions you can ask me
Petro Blagodir,
pblag@blagodir.com Blagodir Software - SugarCRM (Innstallation Customization Support )
Bookmarks