This is a small Backend widget for the Content Management System Contao(2.11 <=). What you get is a Select-Menu with an additional last option 'other value'. If you select the 'other value' option the Select 'transforms' into an text input field. The inputType for this widget is named 'customselect'.
Credits go to Psi|4ward for the idea.
Just use it like the standard select Widget of Contao.
// some DCA example
'highlight' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_content']['highlight'],
'inputType' => 'customselect',
'options' => array('Scala', 'SQL', 'Text', 'VB', 'XHTML', 'XML'),
'eval' => array('includeBlankOption'=>true, 'rgxp'=>'alnum', 'tl_class'=>'w50'),
),Copyright (c) 2012 Simon Kusterer Licensed under the LGPL license.
