Try this: myForm.elements.mySelect.type = "select" myForm.elements.mySelect.options.multiOptions.myValueOne = "My Description One" myForm.elements.mySelect.options.multiOptions.myValueTwo = "My Description Two"
Konr On Mon, Oct 24, 2011 at 2:28 PM, Mike Wright <[email protected]> wrote: > > Hi all! > > I have an app with forms and subforms, all defined in .ini configs. > > Now that it's fleshed out I want to turn some <input> tags into <select> tags > (easy peasy), but how do I declare > > <option value="myValue">Description</option> > > with config.ini format? > > Any takers? > > Thanks for a great framework, > Mike Wright > > -- > List: [email protected] > Info: http://framework.zend.com/archives > Unsubscribe: [email protected] > > -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
