Created
November 30, 2018 10:24
-
-
Save ankedsgn/88d3df76eb02ff6b248afa19cabc44a9 to your computer and use it in GitHub Desktop.
Check in contenttypes.yml met regex op valide URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| website: | |
| type: text | |
| label: Website sponsor | |
| postfix: 'formaat: http://www.sponsor.nl' | |
| pattern: "^http(s?):\/\/.*" # see: http://html5pattern.com/ | |
| error: "Vul een url in inclusief 'http://' of 'https://'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment