From 09f16809fd50e3e5e613e5902cde05fbf5357483 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Thu, 2 Sep 2010 19:54:03 +0000 Subject: [PATCH] NIHVIVO-1024 Implement educational training custom form as a single-step form. Merged two css files. --- webapp/web/js/customFormUtils.js | 4 ++++ 1 file changed, 4 insertions(+) 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