Avatar

Level 8

This might be easier:

In the initialize event (of any object, I pick the root subform) you can insert this:

Object.prototype.hideField = function(){

if (this.className=="field")

  this.presence="hidden";

}

then use this in your field without requiring a constructor at at:

  

this.hideField();

Kyle