Require content description on upload
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2010 07:23 AM
I am currently in the middle of an Alfresco Community 3.2r2 implementation and am looking for a way to force users to provide a content description when adding content and a version note when updating content. Is anyone aware of any configuration changes that would make this possible? Any and all help is greatly appreciated.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010 10:42 AM
I thing that you need to program a bit for this, there is no setting to set in order to do it.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010 10:45 AM
but I gues easyest way is to edit javascript in jsp file /jsp/content/add_content_dialog.jsp
on the end
function checkButtonState()
{
if (document.getElementById("dialog:dialog-body:description").value.length == 0 )
{
document.getElementById("dialog:finish-button").disabled = true;
}
else
{
document.getElementById("dialog:finish-button").disabled = false;
}
}
this should do it. and put required image next to the desc.
on the end
function checkButtonState()
{
if (document.getElementById("dialog:dialog-body:description").value.length == 0 )
{
document.getElementById("dialog:finish-button").disabled = true;
}
else
{
document.getElementById("dialog:finish-button").disabled = false;
}
}
this should do it. and put required image next to the desc.
