QuickForm - how to set defaults in group?

From: Date: Fri, 30 May 2003 14:08:09 +0000
Subject: QuickForm - how to set defaults in group?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5715@lists.php.net to get a copy of this message
I have a group of selects like this: $article_select[] = &HTML_QuickForm::createElement('select','sel1', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel2', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel3', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel4', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel5', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel6', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel7', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel8', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel9', '',$article_options); $article_select[] = &HTML_QuickForm::createElement('select','sel10', '',$article_options); $ib_form->addGroup($article_select, 'ib_article', 'Source articles:', array('<br />')); How would I set a default value for some of all of these? thanks charles

« previous php.pear.general (#5715) next »