diff --git a/webapp/web/js/customFormUtils.js b/webapp/web/js/customFormUtils.js index 9edf039e6..c0b0f1b43 100644 --- a/webapp/web/js/customFormUtils.js +++ b/webapp/web/js/customFormUtils.js @@ -60,5 +60,9 @@ vitro.customFormUtils = { // } // // return foundErrors; + }, + + capitalize: function(word) { + return word.substring(0, 1).toUpperCase() + word.substring(1); } } \ No newline at end of file