Set Minimum Listing Description Word Count

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #458342

    Derek Cummings
    Free User
    Post count: 116

    Hi,

    I was reading it was possible to limit the amount of characters allowed per package, but can I set a minimum word count for all listings? I would really like to be able to do this.

    Thanks!

    #458405

    Alex Rollin
    Moderator
    Post count: 27815

    Only text fields can use validation rules for minimums at this time:

    https://wpgeodirectory.com/docs-v2/places/custom/#faq

    How can I put a character limit on my field?

    GDV2 introduces Validation for text fields. These fields allow you to enter an HTML5 regex rule to govern what is or isn’t allowed inside fields. Here are some example rules for limiting the character count. To use them, just copy from the portion in red and add to the HTML5 Regex field. More examples can be found here.

    .{3,} 3 characters minimum
    .{5,10} 5 to 10 characters
    .{0}|.{5,10} Either 0 OR (5 to 10 chars)
    .{0}|.{8,} Either 0 OR (8 chars minimum)
    .{0}|.{0,40} Either 0 OR (40 chars maximum)

    The rule for 40 characters maximujm is shown here being applied to the summary text field.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount