Problem: Quiz returning ‘passed’ or ‘failed’ what we want to do is do initial cap ‘Passed’ or ‘Failed’ - my thought was to do this in JavaScript.
event action of text caption - named it JScode - type = Javascript
function jsUcfirst(string)
{
return string.charAt(0).toUpperCase() + string.slice(1);
}
Also tried this:
String.prototype.capitalize = function() {
return this.charAt(0).toUpperCase() + this.slice(1)
}
ActivePresenter version: 8.3.2
OS: 10 Pro
Notes: Thanks for your thoughts on this