Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #679323

    My client is reporting a character limit on the avia contact form message field. Is there a way to remove this limit?

    #679367

    Hey shanhard,

    There is no limit set as far as I know. However we would like to take a look at it Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #679444

    Hi Vinay, thanks for the reply, here is the site:

    #679462

    Hi,

    I copy pasted random text that has 55668 characters and there still was no character limit :)

    Best regards,
    Yigit

    #679539

    OK thanks I will investigate further. Thanks for the replies.

    #679849

    Hi,

    Great! we will keep this ticket open so you can reach out to us in case you need any help.

    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

    #1040678

    Hi there,

    I would like to set a character limit to the Contact form Text Area. How do I do that?

    #1040763

    Hi,

    Please go to Enfold theme options > Layout Builder and check “Show element options for developers” and then edit your Contact Form element and give it a custom CSS class (“my-custom-class” in example below) and then add following code to Functions.php file in Appearance > Editor

    function av_limit_textarea(){
    ?>
    <script>
    	jQuery(window).load(function(){
            	jQuery('.my-custom-class textarea').attr('maxlength', '150');
    	});
    </script>
    <?php
    }
    add_action('wp_footer', 'av_limit_textarea');
    

    Best regards,
    Yigit

    #1041095

    Thank you! Worked wonderfully!

    #1041194

    Hi,


    @phylicia
    You are welcome!
    We are closing this thread for now. If you have any other questions or issues, please feel free to start a new thread under Enfold sub forum :)

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Remove character limit in contact form message field’ is closed to new replies.