Skip to main content
June 8, 2023
Question

How do I create a Input Purpose for validating a URL

  • June 8, 2023
  • 3 replies
  • 0 views

They have name, email, phone, etc but it seems weird that URL isn't an option

    3 replies

    mathieud0001
    Brainy
    June 9, 2023

    Input purpose is used for auto complete not validation.

    To validate a url, I would suggest using a regex.

    harshitb6843
    June 9, 2023

    And if you are poor at regex like me, you can use chatGPT to generate them. Works like a charm! (not a promotion)