# Please tell me how can at Zend Form -\> formSelect. Highlight fields of different colors?

**URL:** https://discourse.laminas.dev/t/please-tell-me-how-can-at-zend-form-formselect-highlight-fields-of-different-colors/1621
**Category:** Components & MVC
**Tags:** zend-form
**Created:** [May 18, 2020, 5:40pm UTC](https://discourse.laminas.dev/t/please-tell-me-how-can-at-zend-form-formselect-highlight-fields-of-different-colors/1621 "2020-05-18T17:40:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![gscscnd](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/gscscnd/32/647_2.png) [@gscscnd](https://discourse.laminas.dev/u/gscscnd)
#### Post date: [May 21, 2020, 10:47am UTC](https://discourse.laminas.dev/t/please-tell-me-how-can-at-zend-form-formselect-highlight-fields-of-different-colors/1621/2 "2020-05-21T10:47:07Z")

</div>

Hi!

Have a look at the [documentation of the `Select` element](https://docs.zendframework.com/zend-form/element/select/). The last example presents a way of adding custom attributes to the value options.

Good luck!

---

_[View the full topic](https://discourse.laminas.dev/t/please-tell-me-how-can-at-zend-form-formselect-highlight-fields-of-different-colors/1621)._
