// hidden control functions

// generates and returns the HTML code for the control
function hiddenControlGenerageHtml( formId, controlDescription )
{
  var output = "";
  
  return output;
}

// Sets the properties of the control to the ones, set in control description
function hiddenControlPopulateProperties( formId, controlDescription )
{
  
}

//   Adds the new hidden control description to the form, given
// and returns updated form
//   The form must be a valid form
//   If there already is a control with ID, given, it will be replaced
// with new
function hiddenControlAddToForm( id, defaultValue )
{
  this.addBaseControl( id, defaultValue );
  
  this['fields'][id]['type'] = 'hidden';
}
