I need to enable the maxlength counter for the default OG field og_description. Problem is that this field is uneditable from the "Manage fields" page.

Does anyone have a suggestion on how to circumvent the interface and enable maxlength counter for this field? I haven't looked at the module code yet, but basically this could involve changing an attribute value at the theme level or even in the database. My project spec depends it.

Thanks!

Comments

dawehner’s picture

you can use hook_form_alter and add a

_maxlength_format_element with the og_description field

johnhanley’s picture

It's been awhile since I posted this, but I ended up doing just as describe.

Nevertheless thanks for your response.

johnhanley’s picture

Status: Active » Closed (fixed)