How can I make checkbox checked in Zend Framework depending on the variable value?
For example, I have $some_value = 'yes'; – checkbox should be checked, unchecked otherwise. Thanks.
How can I make checkbox checked in Zend Framework depending on the variable value?
Share
Thought I would have a go at this, your question is badly written, but I will do my best. There are are a few solutions below, I have not tested them all. Give them a try.
Example 1
Example 2