- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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