I am trying to figure out how I can do this... bolValue = someFunc ( someVar ); if ( bolValue ) // true // do something here else alert ( bolValue.err ); As you can see, I need to define a var as a Boolean and if I have a problem, add a message element to the Object. Nothing I do seems to work. Anyone know if I'm barking up the wrong tree. again. Thanks Walter