Avatar

Level 2

This looks like a good solution, thank you.

But i'm still wondering if there might be a way to trigger/create the objects centralized from a script object, maybe like a self-invoking function:

 

(

Object.prototype.hideField = function(){

  if (this.className == "field") {

     this.presence = "hidden";

  }

})();

But till now i can't find a way to auto trigger functions from the script object at the initializing of the form.