Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Set character limit for text field

Viewing 2 replies - 1 through 2 (of 2 total)
  • bump

    I figured this out and posted here: http://www.advancedcustomfields.com/support/discussion/1527/character-limit-in-text-fields#Item_5

    I highly recommend against editing the core files of the plugin so install this at your own risk. I looked at other plugins to ACF but could not find a quick way to hook into an already existing box. So I edited core files, shoot me.

    If any devs want to include this in the official plugin, be my guest. I did minimal tweaking and I commented everywhere that I did.

    Download this file http://ikon3.com/acf-character-limit.zip

    install the “acf-character-limit” plugin and activate it
    this simply puts the necessary javascript in the admin head.

    next, find the textarea.php, text.php, and meta_box_input.php files within the advanced-custom-fields plugin folder and over write them. Alternatively, you can copy where I commented and paste that into the files in the same spots.

    This uses version 3.1.5 of the ACF core files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Set character limit for text field’ is closed to new replies.