Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Livesite page file name issue(accept space)
Rajeshkannan
By default live site page file name accepts space. Is any one know how to restrict?. I found function that where validation happen but i don't know where it is located in teamsite sever. Can you please help on this issue?
function pageForm_mask () {
this.a0 = new Array("name", "Invalid name. You may only use alphanumeric characters plus - and _", new Function ("varName", "this.maxlength='75'; this.mask=/^[a-zA-Z0-9\\u00A0-\\uFFFF\\-\'\\(\\)_]+( ?[a-zA-Z0-9\\u00A0-\\uFFFF\\-\'\\(\\)_])*$/; return this[varName];"));
}
Find more posts tagged with
Comments
Rick Poulin
The supported approach would be to catch it in workflow, either preventing (warning) the user from publishing it right at the start, or by automatically replacing spaces with hyphens/underscores. Changing the page creation wizard would be the most user friendly approach, but it's unsupported so you're on your own.