Validation on URL fields

Support MB Frontend Submission Validation on URL fieldsResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45283
    YasmineYasmine
    Participant

    Can I either:

    1. Edit the validation to include the www. protocol as valid (ideal solution)
    2. Or filter the validation text, to include "Ensure URL begins with https://" (workaround)

    Currently if you add a link that starts with www. it just says this is an invalid link, which is confusing.

    #45290
    PeterPeter
    Moderator

    Hello,

    1. You can create a custom validation function to validate URL on your own.

    2. Use the validation URL with a custom message.

    Please follow the documentation https://docs.metabox.io/validation/

    #45293
    YasmineYasmine
    Participant

    Incredible! Didn't spot that, thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.