Avatar

Level 4

Niall,

Thanks that's much clearer;

so to take a field (FirstName) in which you have data "sarah" to uppercase and lowercase,

on the exit event for "firstname" would you then be able to go something like....

var str = this.rawValue;

try{

if(!js.isEmpty(this.rawValue))

{

var FirstNameUpper = js.allUpper(str);

var FirstNameSC = js.firstCharUpper(str);}

}

catch(e){app.alert(e)}

to arrive at two var's you could call in the a1 + b3 + FirstNameUpper + a2 style ?
sorry if i'm being dumb (code is still quite new to me....) but when/how you would assign that var escapes me....
or can you just use js.firstname.rawValue.allUpper (or similar) to where you need this - it's the syntax to put it to a var or call it that has me baffled....
thanks