> you could do it with a getter function that returns a default value > if the field hasn't yet been set yep, thanks; that worked! > please note that, as proposed, I'll change to scope of the getter and > setter function to the data object itself. the code example then > would use "this.zipcode" instead of "dataObj.zipcode". very nice. ciao, tobi