Table of contents
No headers
 /***
 
     TextBox(id, class, text)
 
     (optional) id: str
 
     (optional) class : str
 
     (optional) text : str
 
 ***/
 
 var id = $id ?? @id;
 var class = $class;
 var text = $text ?? '';
 var width = $width;
 var height = $height;
 
 if(text != '') {
     <input id=(id) width=(web.size(width)) height=(web.size(height)) class=(class) value=(text) type="text" ctor="
         var val = 
reference to undefined name 'text' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)Callstack:
    at User:Joey_Oducado1
MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException: reference to undefined name 'text' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown.
  at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptVar expr, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0 
  at MindTouch.Deki.Script.Expr.DekiScriptVar.VisitWith[DekiScriptExpressionEvaluationState,Range] (IDekiScriptExpressionVisitor`2 visitor, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0 
  at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptReturnScope expr, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0  ;
         when($this.focus) {
             if($this.val() == val) {
                 $this.css({ 'color': '#000000', 'font-style': 'normal' });
                 $this.val('');
             }
             $this.css({ 'background-color': '#EEF1F8' })
         }
         when($this.blur) {
             if($this.val() == '') {
                 $this.css({ 'color': '#778899', 'font-style': 'italic' });
                 $this.val(val);
             }
             $this.css({ 'background-color': '#FFFFFF' });
         }
     "/>
 } else {
     <input id=(id) width=(width) height=(height) class=(class) type="text" ctor="
         var val = 
reference to undefined name 'text' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)Callstack:
    at User:Joey_Oducado1
MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException: reference to undefined name 'text' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown.
  at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptVar expr, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0 
  at MindTouch.Deki.Script.Expr.DekiScriptVar.VisitWith[DekiScriptExpressionEvaluationState,Range] (IDekiScriptExpressionVisitor`2 visitor, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0 
  at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptReturnScope expr, DekiScriptExpressionEvaluationState state) [0x00000] in <filename unknown>:0  ;
         when($this.focus) $this.css({ 'background-color': '#EEF1F8' })
         when($this.blur) $this.css({ 'background-color': '#FFFFFF' });
     "/>
 }