Character limit on a metadata field?

Is there any way to limit the amount of characters a user can input into a metadata field in 3.16.6? I know its available in later versions, but need this functionality in our current version. If not, is there any other way to print out the first 100 characters of a content div, without using javascript?

used in paintlayout, asset listing:%asset_metadata_metadata_field_name^maxchars:100%
used in page content:%globals_asset_metadata_metadata_field_name^maxchars:100%

Those keyword modifiers didn't exist in 3.16, so Geoff wont be able to use them. I don't think there is any way to do this in your version.

I've tried the suggestion above but it looks like the keyword modifier is not available in 3.16.6. It's not working anyway. Any other ideas?

I’ve used jQuery to limit fields before - there are plenty of plugins for this out there.


This one works for me.



This one works for me.