ZF-10707: the hidden field for ZendX_JQuery_Form_Element_Slider doesn't correct in a subform


When you add a ZendX_JQuery_Form_Element_Slider element in a subform, you've a problem this the html render, the name of the hidden field isn't correct:


Instead of this, you should have this content:


It's a problem when you validate the form, the name is wrong, you loose the values.

Thanks for your feedback.


Hi Ludovic,

this is a known problem. I've already uploaded a Patch for this.

regards René

Edit: There is already an implementation for array notation. Have a look at:…

So you should use setBelongsTo and/or setIsArray.

best regards René

I've tested with your patch, Zend_Form::setIsArray($flag) and Zend_Form::setElementsBelongTo($array), nothing works.

I've tested without our patch too.

For all Zend_Form standard elements, it works, except of ZendX_JQuery_Form_Element_Slider, I've always the same issue.

Are you sure it isn't an issue ?

Do you need a source code example to demonstrate the presence of this bug ?