
/*function JSFormValidatorConfig() {
  
  /**
   * I need a feature that allows showing the first error occured when 
   * validating the form.
   * @bug JS-74
   *
  this.showFirstError = false;
  
  this.defaultDoubleSeparator = ",";
  
  this.defaultDateFormat = "%DD-%MM-%YYYY";
  
  this.messagePos = "RiGht"; // LEFT RIGHT TOP BOTTOM
  
  this.FORM_VALIDATOR_DEFAULT_ERROR_BLOCK = "<div style='background-color:yellow; border:1px solid red; width:200px;height:20px'>{errormessage}</div>";
}

JSFormValidatorConfig.prototype = new JSComponentConfig();
/
var FormValidatorConfig = new JSFormValidatorConfig();*/


function JSFormValidatorConfig() {
  
  this.defaultDateFormat = "%DD-%MM-%YYYY";
  this.ERROR_MESSAGE_FIELD_REQUIRED = "Er onbreekt een veld : email-adres";
  this.ERROR_MESSAGE_FIELD_NOTNUMBER = "*";
  this.ERROR_MESSAGE_FIELD_NOTEMAIL = "Het email-adres is onjuist";
  this.ERROR_MESSAGE_FIELD_NOTDATE = "*";

  this.messagePos = "top"; // LEFT RIGHT TOP BOTTOM

  this.FORM_VALIDATOR_DEFAULT_ERROR_BLOCK = 
    "<span style='position: relative; text-align: justify; background:transparent; color:red; width: 100px;'>{errormessage}</span>";

  this.FORM_VALIDATOR_SENDURL_ERROR_BLOCK = 
    "<span style = 'position: absolute; width:500px;  color: #ff4d00; margin-top: 0px;'>&nbsp;{errormessage}</span>";
}

JSFormValidatorConfig.prototype = new JSComponentConfig();

var FormValidatorConfig = new JSFormValidatorConfig();    