Textarea Character Limit

This topic contains 6 replies, has 3 voices, and was last updated by  Stiofan O’Connor 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #426324

    Kathy Geisler
    Lifetime Member
    Post count: 313

    Hi,

    I wanted to add a textarea field to one of the custom post type forms.

    Is it true that you can’t limit the character count for this kind of field?

    In the business listing form there is the single detail description which has the character count limit. But I believe that field can only be used once on any form.

    Can you help me sort this out?

    Ideally I would like to have two separate text fields, similar to how the events appear, but with character limits on both.

    I hope this is clear.

    So for example the detail page result would appear:

    Images

    Detail text field one (5,000 characters)

    Detail text field two (5,000 characters)

    Video / Audio field one

    Video / Audio field two

    Map

    thank you for your help on this.

    Kathy

    #426359

    Kor
    Moderator
    Post count: 16516

    Hi Kathy,

    To enable the listing description limit, go to GD > Prices and Payments > Package > Apply description limit. Furthermore, I don’t think its possible to have two descriptions. You can use a custom field for this but without character limitation.

    Thanks!

    #426361

    Kathy Geisler
    Lifetime Member
    Post count: 313
    This reply has been marked as private.
    #426364

    Kor
    Moderator
    Post count: 16516

    Hi Kathy,

    Thanks for your reply. Not without customization and I hope you understand. But I’ll forward this to a developer for a second opinion.

    @stiofan – is it possible to apply character limit for “Textarea” custom fields?

    Thanks!

    #426389

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There is no setting for it but it is something that could be added with a small JS snippet.

    Stiofan

    #426391

    Kathy Geisler
    Lifetime Member
    Post count: 313
    This reply has been marked as private.
    #426398

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is a basic example: https://jsfiddle.net/xpvt214o/118197/
    This is a more complex example: http://jsfiddle.net/JCehq/1/

    Stiofan

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket