Custom Field URL Link Validation Rules Customization

This topic contains 1 reply, has 2 voices, and was last updated by  Paolo 9 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #121660

    wasanajones
    Buyer
    Post count: 180

    one more request (not the last, I’m sure)

    the URL Custom Field allows dofollow links, which is what I want. However, I’m looking to restrict this to internal links only.

    the editor prompts users to “please enter a valid URL including http://” which is good under normal circumstances, however since I want to allow only internal links I want just the opposite – prevent the http:// or https:// from being entered.

    any hope of being able to do that?

    thanks

    #121789

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    for the url field, it’s not possible, but there are still solutions…

    You could add the full url but have the link text as something else or you could add a custom text field and add any validation you want and use hooks to make it a link.

    Thanks

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