<link rel='stylesheet' id='jquery-qtip-css'  href='//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms/deprecated/css/qtip.css?ver=3.8.1' type='text/css' media='all' />
<link rel='stylesheet' id='jquery-rating-css'  href='//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms/deprecated/css/jquery.rating.css?ver=3.8.1' type='text/css' media='all' />
<link rel='stylesheet' id='ninja-forms-conditionals-display-css'  href='//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms-conditionals/css/ninja-forms-conditionals-display.css?ver=3.8.1' type='text/css' media='all' />
<link rel='stylesheet'  href='http://randyjensenonline.com/rlcalt/assets/themes/richland/css/ninja-forms.css' type='text/css' media='all' />
<link rel='stylesheet'  href='http://randyjensenonline.com/rlcalt/assets/themes/richland/css/jquery-ui-1.10.4.custom.min.css' type='text/css' media='all' />

<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="http://randyjensenonline.com/rlcalt/assets/themes/richland/js/lib/form2js.js"></script>
<script type="text/javascript" src="https://code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>
<!--<script type="text/javascript" src="http://rlc6.dcccd.edu/tools/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.10.3"></script>-->
<script type="text/javascript" src="http://randyjensenonline.com/rlcalt/assets/themes/richland/js/lib/jquery.maskedinput.js"></script>
<script type="text/javascript" src="//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms/deprecated/js/min/word-and-character-counter.min.js?ver=4.3.1"></script>
<script type="text/javascript" src="//rlc6.dcccd.edu/tools/forms/wp-includes/js/jquery/jquery.form.min.js?ver=3.37.0"></script>
<script type="text/javascript" src="http://randyjensenonline.com/rlcalt/assets/themes/richland/js/lib/easyXDM.min.js"></script>
<script type="text/javascript" src="http://randyjensenonline.com/rlcalt/assets/themes/richland/js/lib/form-serialize.js"></script>

<style>
.ui-widget-header .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_222222_256x240.png);}
.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_75_dadada_1x400.png);}
.ui-widget-content {background: #fff url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;}
.ui-widget-content a {color: #222; }
.ui-widget-header {background: #ccc url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;}
.ui-widget-header a {color: #222; }
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {background: #e6e6e6 url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;}
.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {background: #dadada url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;}
.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active {background: #fff url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;}
.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight {background: #fbf9ee url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;}
.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error {background: #fef1ec url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;}
.ui-icon,.ui-widget-content .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_222222_256x240.png); }
.ui-state-default .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_888888_256x240.png); }
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_454545_256x240.png); }
.ui-state-active .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_454545_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_2e83ff_256x240.png); }
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {background-image: url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-icons_cd0a0a_256x240.png); }
.ui-widget-overlay {background: #aaa url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;}
.ui-widget-shadow {background: #aaa url(//rlc6.dcccd.edu/tools/wp-content/jquery-ui-images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;}
.ninja-forms-required-items {display: none;}
</style>

<script type="text/javascript">
  easyXDM.DomHelper.requiresJSON("json2.js");
</script>
<script>
  var protocol = window.location.href;
      protocol = protocol.split(":");
      protocol = protocol[0];

  jQuery(document).ready(function() {
    // Set up easyXDM
    var xhr = new easyXDM.Rpc({
      remote: protocol+"://rlc6.dcccd.edu/tools/easyXDM/src/cors/"
    }, {
      remote: {
        request: {}
      }
    });

    // Show the form on the screen
    var form_display = function(res, id) {
      jQuery.getScript("//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms/deprecated/js/min/ninja-forms-display.min.js?ver=3.8.1");

      // Remove the loader
      jQuery('#form-loader').remove();

      // Inject form in to page
      jQuery('.ninja-form-container').html(res.data);

      // Add required to all required fields
      jQuery.each(jQuery('.ninja-forms-req-symbol'), function(i, item) {
        jQuery(item).html('').append('<span class="red-text"> (required)</span>');
      });

      // Capture submit button
      jQuery('#ninja_forms_form_'+id+' input[type="submit"]').on('click', function() {
        var $t = jQuery(this),
            cur_text = $t.val();

        jQuery(this).val('Submitting...');

        //serialized_data = form2js(document.getElementById('ninja_forms_form_'+id), ',', false);
        serialized_data = jQuery('#ninja_forms_form_'+id).serializeObject();

        xhr.request({
          method: "POST",
          url: jQuery('#ninja_forms_form_'+id).attr('action'),
          data: serialized_data
        }, function(data) {
          $t.val(cur_text);

          var res = JSON.parse(data.data);

          if (res.errors) {
            jQuery('.error-message').remove();
            jQuery('.field-wrap').removeClass('error');
            jQuery('#general-area').remove();

            var x = 0;
            jQuery.each(res.errors, function(i, item) {
              if (item.location == 'general') {
                jQuery('#nf_submit_1').append('<span class="redText" id="general-area">'+res.errors['required-general'].msg+'</span>');
              } else {
                jQuery('#ninja_forms_field_'+item.location+'_div_wrap').addClass('error');
                jQuery('#ninja_forms_field_'+item.location+'_label').after('<span class="error-message">'+item.msg+'</span>');

                if (x === 0) jQuery("html, body").animate({ scrollTop: jQuery('#ninja_forms_field_'+item.location+'_div_wrap').offset().top-20 }, 400);
              }
              x++;
            });
          }

          if (!res.errors) {
            var el = jQuery('.ninja-form-container').position();
            var message = res.success[Object.keys(res.success)[0]];

            $('body').scrollTop(el.top-50);

            $('.ninja-form-container').css('border','none');

            if (message == '' || message == undefined) message = 'Thanks. We\'ll be in touch.';
            jQuery('.ninja-form-container').html('').html('<div class="alert alert-success"><br />'+message+'</div>');
          }
        });
        return false;
      });
    }

    // Add all the form assets to the screen
    var form_assets = function(res, id) {
      jQuery.getScript("//rlc6.dcccd.edu/tools/forms/wp-content/plugins/ninja-forms-conditionals/js/min/ninja-forms-conditionals-display.min.js?ver=3.8.1");

      res.data = res.data.replace('_1_', '_'+id+'_');

      jQuery('body').append('<script type="text/javascript" id="conditional-script">'+JSON.parse(res.data)+'<'+'/'+'script>');
      jQuery('body').append(' \
        <script type="text/javascript"> \
        var ninja_forms_settings = {"ajax_msg_format":"inline","password_mismatch":"","plugin_url":"http:\/\/rlc6.dcccd.edu\/tools\/forms\/wp-content\/plugins\/ninja-forms","date_format":"mm\/dd\/yy","currency_symbol":null}; \
        var thousandsSeparator = ","; \
        var decimalPoint = "."; \
        var ninja_forms_form_'+id+'_settings = {"ajax":"1","hide_complete":"1","clear_complete":"1"}; \
        var ninja_forms_form_'+id+'_calc_settings = {"calc_value":"","calc_fields":[]}; \
        var ninja_forms_password_strength = {"empty":"Strength indicator","short":"Very weak","bad":"Weak","good":"Medium","strong":"Strong","mismatch":"Mismatch"}; \
        '+'<'+'/'+'script> \
      ');

      xhr.request({
        url: "//rlc6.dcccd.edu/tools/forms/api/forms/get_form_html/",
        method: "POST",
        data: {id: id}
      }, function(res) {
        form_display(res, id);
      });
    }

    // Get form conditional object
    var get_ninja_form_conditionals = function(id) {
      xhr.request({
        url: "//rlc6.dcccd.edu/tools/forms/api/forms/get_form_assets/",
        method: "POST",
        data: {id: id}
      }, function(res) {
        form_assets(res, id);
      });
    }

    // If the Ninja Form Container exists, grab the id and go go gadget forms
    var ninja_forms = jQuery('.ninja-form-container');
    if (ninja_forms.length > 0) {
      ninja_forms.append('<div id="form-loader"><img src="http://randyjensenonline.com/rlcalt/assets/themes/richland/images/loader.svg" height="25" width="25" /></div>');

      var id = ninja_forms.attr('id');
      get_ninja_form_conditionals(id);
    }
  });
</script>
{"id":6732,"date":"2015-02-25T15:08:30","date_gmt":"2015-02-25T21:08:30","guid":{"rendered":"http:\/\/randyjensenonline.com\/rlcalt\/?page_id=6732"},"modified":"2017-12-08T11:32:59","modified_gmt":"2017-12-08T17:32:59","slug":"campus-visit-request-form","status":"publish","type":"page","link":"http:\/\/randyjensenonline.com\/rlcalt\/community-outreach-school-recruitment\/campus-visit-request-form\/","title":{"rendered":"Campus Visit Request Form"},"content":{"rendered":"<p class=\"toast\">Scheduled tours are available Tuesdays and Thursdays (excluding holidays), from 10:00 to 12:00 p.m. <\/p>\n<p>A campus tour is an important first step in the college selection process. Come visit Richland to learn about our programs, services and college life outside the classroom. Tours are conducted by the High School and Community Relations department staff. Tours start in C-196, first floor Crockett Hall. <a href=\"http:\/\/randyjensenonline.com\/rlcalt\/campus-map\/\">Click here for a campus map<\/a>.<\/p>\n<p>Please register for your tour at least 48 hours in advance. Drop-in tours are not being offered. The Community Outreach &#038; School Recruitment staff will contact you at the phone number or email provided to confirm your tour date and time. Note: Your tour is not confirmed until you have received an email or phone confirmation from the Community Outreach &#038; School Recruitment staff. Thank you and we look forward to showing you around Richland!<\/p>\n<p>This is a walking tour that will last approximately one hour. Please wear comfortable shoes.<\/p>\n<div class=\"ninja-form-container\" id=\"55\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Scheduled tours are available Tuesdays and Thursdays (excluding holidays), from 10:00 to 12:00 p.m. A campus tour is an important first step in the college selection process. Come visit Richland to learn about our programs, services and college life outside the classroom. Tours are conducted by the High School and Community Relations department staff. Tours [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":6719,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/two-col.php","meta":{"footnotes":""},"class_list":["post-6732","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/pages\/6732","targetHints":{"allow":["GET","POST","PUT","PATCH","DELETE"]}}],"collection":[{"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/comments?post=6732"}],"version-history":[{"count":9,"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/pages\/6732\/revisions"}],"predecessor-version":[{"id":17586,"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/pages\/6732\/revisions\/17586"}],"up":[{"embeddable":true,"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/pages\/6719"}],"wp:attachment":[{"href":"http:\/\/randyjensenonline.com\/rlcalt\/wp-json\/wp\/v2\/media?parent=6732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}