ZF-8268: Captcha label incorrectly paired with its input field after calling $form->setElementsBelongTo()

Description

After creating form and calling setElementsBelongTo, captcha label is rendered with invalid "for" attribute:

{quote} $form->setElementsBelongTo('comment'); $form->addElement('captcha', 'captcha', array( ... )); {quote}

{quote}

Type text from image: {quote}

Comments

fixed in trunk, thanks