[Pages] Validate input
Valid URL input for Pages, WTD-1145.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user