CreateInputDropdown
Posted: Thu Apr 26, 2012 7:56 pm
Hi!
I'm creating a CMSModue->CreateInputDropdown and the html is inverted. Doc sais $items == array('key'=>'value'), but the output is inverted:
if I invert my values with the key, I could get issues if I have two item with the same name, but different id, I'll lose data.
using CMS Made Simple⢠1.10.3 "Hyacinthe"
I'm creating a CMSModue->CreateInputDropdown and the html is inverted. Doc sais $items == array('key'=>'value'), but the output is inverted:
Code: Select all
array(2) { [0]=> string(0) "" [3]=> string(6) "test 2" }
Code: Select all
<select class="cms_dropdown" name="mf673fjobs"><option value="" selected="selected">0</option><option value="test 2">3</option></select>
using CMS Made Simple⢠1.10.3 "Hyacinthe"