in reply to Populating options in html select.
Here's an example of a styled select box:
<html> <style> .even { background-color: #ccc } .odd { font-weight: bold } </style> <body> <form> <select> <option class=odd> one <option class=even> two <option class=odd> one <option class=even> two <option class=odd> one <option class=even> two </select> </form> </body> </html>
You could use HTML::Template's __odd__ and __even__ attributes for this, for example. But there's no way to do this with your FillInForm subclass idea.
|
|---|