Download & Extend

Maxlength doesn't work if is node form is inside a block inside a fieldset

Project:Maxlength
Version:6.x-2.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,
Here's a bug: I have FAQ creation form that is inside a block that is inside a collapsed Fieldset. Where it should display the Maxlength countdown, it displays "NaN"

The same problem is for both the main Body & Title fields and even if I use a custom CCK_textarea field.

Modules used:
CCK, Fieldgroup, CCK block reference, FAQ, FAQ_Ask, Resizable body

I'm suspecting that this is happening because the form where the Maxlength is used is inside a collapsed fieldset. So there's some kind of a JS clash.

(The reason why I use a fieldset is because I want it to be collapsed by default - so that the form opens directly up on page. I would happily use a collapsed/expanding block, but it looks like in Drupal 6 there is no decent "collapsiblock" solution.)

nobody click here