<script type="text/javascript">
    function checkForSpecialCharacters(formData, toCheck) {
        var errors = {};
        toCheck.forEach(function(item) {
            if (formData != null && !formData[item].match(new RegExp('^((?![\<,\>,\&,\"]).)*$'))) {
                errors[item] = 'This character can not be used.';
            }
        });
        return errors;
    }
    window.__gigyaConf = {
        validation: {
            'gigya-register-screen': function(formData, eventType, callback) {
                return checkForSpecialCharacters(formData, ['profile.firstName', 'profile.lastName']);
            },
            'gigya-update-profile-screen': function(formData, eventType, callback) {
                var errors = checkForSpecialCharacters(formData, ['profile.nickname', 'profile.firstName', 'profile.lastName', 'profile.city', 'profile.zip']);
                if (formData != null && formData['profile.nickname'].length == 0 && !enableEmptyNickname)
                    errors['profile.nickname'] = "You can not leave this field blank.";
                return errors;
            }
        },
        enableSSOToken: true,
        bypassCookiePolicy: 'always'
    };
    window.__functionsToExecute = [];
</script>

<script type="text/javascript" src="https://cdns.gigya.com/JS/socialize.js?apikey=3_uMFBTSRvPDal63Zq8JezwafdwGOEG0zCW442Ku4Xk2lEG1mxHXrUaGOGsaDLAoEF&lang=en">
    {
        enabledProviders: 'facebook,twitter,linkedin,yahoo'
    }
</script>
<link href="https://pioneerdj.com/Bundles/GigyaStyle/?v=KhjMIjdDaPAl8RkrAvfFxtOKzK7ZBvw_6qzzem-S6Oo1" rel="stylesheet" />
<script type="text/javascript" src="https://cdn.gigya-ext.com/screenset-validation.min.js"></script>
<script src="https://pioneerdj.com/Bundles/GigyaConnector/?v=det8w82lPoffB4JoTTPoe7G1G7MqeCKh8-PVuZ9qFeg1"></script>
<script type="text/javascript">

  function checkForSpecialCharacters(formData, toCheck) {
    var errors = {};
    toCheck.forEach(function (item) {

      if (formData != null && !formData[item].match(new RegExp('^((?![\<,\>,\&,\"]).)*$'))) {
        errors[item] = 'This character can not be used.';
      }
    });
    return errors;
  }

  window.__gigyaConf = {
    validation: {
      'gigya-register-screen': function (formData, eventType, callback) {
        return checkForSpecialCharacters(formData, ['profile.firstName', 'profile.lastName']);
      },
      'gigya-update-profile-screen': function (formData, eventType, callback) {
        var errors = checkForSpecialCharacters(formData, ['profile.nickname', 'profile.firstName', 'profile.lastName', 'profile.city', 'profile.zip']);
        if (formData != null && formData['profile.nickname'].length == 0 && !enableEmptyNickname)
          errors['profile.nickname'] = "You can not leave this field blank.";
        return errors;
      }
    },
    enableSSOToken: true,
    bypassCookiePolicy: 'always'
  };

  window.__functionsToExecute = [];

</script>

<script type="text/javascript" src="https://cdns.gigya.com/JS/socialize.js?apikey=3_uMFBTSRvPDal63Zq8JezwafdwGOEG0zCW442Ku4Xk2lEG1mxHXrUaGOGsaDLAoEF&lang=en">{ enabledProviders:'facebook,twitter,linkedin,yahoo' }</script>
<link href="https://pioneerdj.com/Bundles/GigyaStyle/?v=KhjMIjdDaPAl8RkrAvfFxtOKzK7ZBvw_6qzzem-S6Oo1" rel="stylesheet"/>
<script type="text/javascript" src="https://cdn.gigya-ext.com/screenset-validation.min.js"></script>
<script src="https://pioneerdj.com/Bundles/GigyaConnector/?v=det8w82lPoffB4JoTTPoe7G1G7MqeCKh8-PVuZ9qFeg1"></script>
/* No context defined. */

No notes defined.