Product Module Field Definition Option Values Issue
Posted: Mon Oct 21, 2019 9:50 pm
Hello,
When creating a field definition of dropdown type for Products Module the {$field.options} variable does not recognize the carraige returns at the end of the option value character string so the option values run together in the displayed code. I'm not sure how to fix this...
Edit a Field Definition option value entries I made:
oh|Ohio
in|Indiana
ky|Kentucky
Code displayed in admin product edit.
<select class="cms_dropdown" name="m1_customfield[field-21]"><option value="oh" selected="selected">Ohio in</option></select>
CMSMS Version 2.2.11
Installed Modules
AdminSearch 1.0.4
CGExtensions 1.64.10
CGSimpleSmarty 2.2.1
CMSContentManager 1.1.8
CMSMailer 6.2.14
CmsJobManager 0.1.3
DesignManager 1.1.6
FileManager 1.6.8
FilePicker 1.0.4.1
FormBuilder 0.8.1.6
Gallery 2.4
JQueryTools 1.4.2
MenuManager 1.50.3
MicroTiny 2.2.4
ModuleManager 2.1.7
Navigator 1.0.9
News 2.51.7
Products 2.28.7
Search 1.51.7
TinyMCE 3.3
When creating a field definition of dropdown type for Products Module the {$field.options} variable does not recognize the carraige returns at the end of the option value character string so the option values run together in the displayed code. I'm not sure how to fix this...
Edit a Field Definition option value entries I made:
oh|Ohio
in|Indiana
ky|Kentucky
Code displayed in admin product edit.
<select class="cms_dropdown" name="m1_customfield[field-21]"><option value="oh" selected="selected">Ohio in</option></select>
CMSMS Version 2.2.11
Installed Modules
AdminSearch 1.0.4
CGExtensions 1.64.10
CGSimpleSmarty 2.2.1
CMSContentManager 1.1.8
CMSMailer 6.2.14
CmsJobManager 0.1.3
DesignManager 1.1.6
FileManager 1.6.8
FilePicker 1.0.4.1
FormBuilder 0.8.1.6
Gallery 2.4
JQueryTools 1.4.2
MenuManager 1.50.3
MicroTiny 2.2.4
ModuleManager 2.1.7
Navigator 1.0.9
News 2.51.7
Products 2.28.7
Search 1.51.7
TinyMCE 3.3