• Resolved ravishah00

    (@ravishah00)


    I am using option tree plugin for my current site in wordpress. I have a slider with description on it. I want to show only few characters of description on front end as it affects the design if text is too long.I know I can restrict the characters on frontend using PHP function but I wish to restrict the textarea too on backend to allow me only specified number of characters. I am using section as follows :

    ‘array(
    ‘id’ => ‘slider_description’,
    ‘label’ => ‘Description’,
    ‘desc’ => ‘Add Description Here’,
    ‘maxlength’ => 5,
    ‘std’ => ”,
    ‘type’ => ‘textarea’,
    ‘class’ => ”,
    ‘choices’ => array()
    ),’
    But it is not applying maxlength as described. I did R&D on plugin on google but all in vain. Can please someone help me out on this. Thanks in advance.

    https://www.ads-software.com/plugins/option-tree/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Apply Maxlength in Textarea on backend’ is closed to new replies.