Hi.
I have a problems with checkboxes when doing GET request. I have implemented
small javascript method to fix get parameters to zf style param urls
jQuery.fn.zfGet = function() {
window.location = this.attr('action') + '/' +
this.serialize().replace(/&/g, '/').replace(/=/g, '/');
return false;
};
so, it will redirect me to sth like this
/controller/action/param/1/param/1/...
because checkbox have hidden field as well as checkbox input field
In my controller _getAllParams returns an array for 'param' with 2 values!
Then Int filter cust it to 0.
This happends only for GET method, not with post. Any idea?
Problem does not occurs when jQuery.fn.zfGet call is ommitted. How do you
solve this problem with zf style urls?
Regards,
Saša Stamenković.
--
View this message in context:
http://n4.nabble.com/Problem-with-Zend-Form-Element-Checkbox-and-zf-style-urls-tp1099915p1099915.html
Sent from the Zend Framework mailing list archive at Nabble.com.