[Pages] Validate input

Valid URL input for Pages, WTD-1145.
This commit is contained in:
Victor Woeltjen 2015-04-27 14:50:14 -07:00
parent 01e2840aae
commit 012fad6984

View File

@ -9,7 +9,9 @@
{ {
"key": "url", "key": "url",
"name": "URL", "name": "URL",
"control": "textfield" "control": "textfield",
"pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
"required": true
} }
] ]
} }