Could you please show me an example how to use
ZendX_JQuery_Form_Element_ColorPicker?
There is nothing in the docs about this element.
My element is added to the from, but it is still rendered as a text input.
What do I miss? jQuery is imported, UI JS and CSS is included, onLoad code
added.
Now
I came up with an ugly workaround:
if (0 !== $config-get('elements')-get('element')) {
//
}
This helps me to identify if there is more then one elements under elements
tag.
Very ugly.
Anithing smarter?
--
View this message in context:
I'm having a similar problem...
I'm also wondering why Zend_Form-validate($data) isn't validating against
the default value (or current value for that matter) when the value isn't
present in the $data array. What's the reason for this behavior?
Should the code not be
if
Hey all,
In case you haven't seen the news, we are running the March 2011 bug
hunt today, tomorrow and saturday. More information here:
http://devzone.zend.com/article/13388
Need an issue to attack? There is no shortage:
Hello i'm using a custom decorator based on this example:
http://framework.zend.com/manual/en/zend.form.decorators.html
However i can't retrieve the errors message in the following function:
public function buildErrors()
{
$element = $this-getElement();
$messages =
On Thu, Mar 24, 2011 at 11:33 AM, My Lists l...@eduardocury.net wrote:
$element-getMessages(), returns empty.
$element-getMessages() will be empty unless the element's value is invalid.
Are you validating the form (or element) and passing in a known invalid
value?
--
*Hector Virgen*
Sr. Web