<script src="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/js/jquery-1.11.1.min.js"></script>
<script src="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/js/jquery-1.11.1.min.ui.js"></script>
<script src="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/js/jquery.inputmask.bundle.js"></script>
<link href="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/css/bootstrap.min.css" rel="stylesheet">
<link href="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/css/step_form.css" rel="stylesheet">

<div class="container" style="padding-left: 0px; padding-top:10px; padding-right: 15px;">
	 
			 
 	<div class="panel panel-primary step-form" style="clear:both; margin-top:15px;">
   
   		 	<!--<div class="panel-heading gform_wrapper" style="color:#000000; font-size:18px;">
				Personal information
			</div>-->
		
	
    <div class="panel-body form-horizontal">
      <form name="form" id="form" method="post" enctype="multipart/form-data" action="https://therecordsco.com/rsaq/upload_records/">
	     <input type="hidden" id="step" name="step" value="1" />
		
		
        <div id="step1" class="inline">
			
				
          	<script type="text/javascript" src="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/plupload/plupload.full.min.js"></script>
<script type="text/javascript" src="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/plupload/jquery.ui.plupload/jquery.ui.plupload.js"></script>

<link rel="stylesheet" href="https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/plupload/jquery.ui.plupload/css/jquery.ui.plupload.css" type="text/css" />


 <div style="font-size: 17px; padding-bottom:15px;">You will need an account in order to securely upload files. If you don’t have an account, you can create one instantly online by clicking <a style="text-decoration:underline!important;" href='https://therecordsco.com/rsaq/registration/'>here</a>.</div>
 
 <h2 style="text-align:left; margin-top:0px; font-size:20px;" class="reviewheader">Upload Records</h2>
			
			 
<p>
    Please upload the file(s) here. If you have records that exceed (100 mb), or if you have any issues, please call customer service at 513-795-0724. All file uploads will be reviewed within 24 hours and a member of The Records Company will contact you, if necessary.
    
</p>
 <input type="hidden" id="box_token" value="1!gzb7tNINwVmToAfEfSGoj-XJ5mDh40CeL2gsIW2b1Pi6hVhuPFidNyrj_nyF7EZp8eW1oX_CeAV5jcumhLYrAGQY1y5TlXwciE4bTrUPVWKfToyh6XUhL0_gLD-0Asw1YxSqwuVPCZSQC-1COQXTeFpGgVp_1GZh7ksVwcmLsJz_0hPo926_WxpUSTu6mIQFMFEkA-yGLV8pCVH8SfNni0bmdSxyyl_hyqlDeVoZ4qrmv3NRdB1nbYyosjAohbDXoZkB8CJJ4RgcCnr_exD841BpB5m2oZc0f1hFfUtY7WN4IEbp0dOTLeAJ79N0k3clcDVGnepLWxtdai9oSafgImnjEi-AYkYlBOit6MYahXfOyxM8bXnd4p2syuq6sELrH0fyqDV7YF3yZ9F0Xmr0b0Zn-dqfJeSgVCIDQq9PSkqXyiiq1Mnz4UGyx36wETJdS9uRfNh5FgwNYjl4DjEFqL6MgL8iz5Umrh9dd_NriepckNZ_hrw1lLZyBCgra_NzbHnooZ7a42QqEdqYrfUBpcTWHZZgc-HbHWqwKSL78zwLIm2WnzrLdgoAJk-bckDIIem18Tv1TnrXbgFa7xr3UDOEyZc1KVCqzglHiRcVTHy2L0yXQOT5ZT6IWVY3fyIvStbvhGC1cMfxodorN-Bkt8fb03ys419WLQkUfAR1zIp97Zdo6YCH"  class="form-control inp" />
 <input type="hidden" id="folder_name" value=""  class="form-control inp" />
	<div class="form-group text-left">
  <div class="col-sm-6 column">
    <label for="name">Username: <span class="required-field"></span></label>
	
    <input type="text" id="username" name="username" value=""  class="form-control inp" />
      </div>
  
  <div class="col-sm-6 column">
    <label for="name">Password<span class="required-field"></span>:</label>
    <input type="password" id="pass"  name="pass" value="" class="form-control inp"  />
	   </div>
</div>
<div class="form-group text-left">
  <div class="col-sm-12 column">
	<div id="uploader" >
		<p>Your browser doesn't have Flash, Silverlight or HTML5 support.</p>
	</div>
	<p><i>Accepted file types include .TIF, .PDF, .XPS, and .ZIP. Limit is 100 MB per file.</i></p>
  </div>
</div>
	

<div class="form-group text-left">
  
  
  <div class="col-sm-4 column">
    <label for="name">Your Name<span class="required-field"></span>:</label>
    <input type="text" id="name"  name="name" value="" class="form-control inp" />
	   </div>
  
  <div class="col-sm-4 column">
    <label for="name">Your Email Address<span class="required-field"></span>:</label>
    <input type="text" id="email"  name="email" value="" class="form-control inp" />
	   </div>
  
   <div class="col-sm-4 column">
    <label for="name">Your Phone<span class="required-field"></span>:</label>
    <input type="text" id="phone"  name="phone" value="" class="form-control validate_phone inp"  />
	   </div>
</div>




<div class="form-group">
  <div class="col-lg-12 ">
    <div class="clearfix bdr-top"></div>
   <!-- <input class="green-custome-btn margin-r10 next1" name="next1" type="submit" value="Submit" />-->
   <input type="submit" value="Upload Now" class="btn btn-success success min-w-106" />
	<!--<a class="plupload_button plupload_start ui-button ui-widget ui-state-default ui-corner-all ui-button-disabled ui-state-disabled ui-button-text-icon-primary" id="uploader_start" role="button" aria-disabled="true"><span class="ui-button-icon-primary ui-icon ui-icon-circle-arrow-e"></span><span class="ui-button-text">Send File</span></a>-->
    
   </div>
</div>

<script type="text/javascript">
// Initialize the widget when the DOM is ready
$(function() {
    
   

	$("#uploader").plupload({
		// General settings
		runtimes : 'html5,flash,silverlight,html4',
		url : 'https://therecordsco.com/rsaq/wp-content/plugins/gravity-form-front/ajax/upload_docs.php',
		multipart_params: { 'folder_name': $('#folder_name').val(), 'name': $('#name').val(), 'email': $('#email').val(), 'phone': $('#phone').val(), 'box_token': $('#box_token').val()},
		//multipart_params: { 'title': $('#title').val(),'comment': $('#comment').val() },
		// User can upload no more then 20 files in one go (sets multiple_queues to false)
		max_file_count: 100,
		//multiple_queues : true,
		chunk_size: '1mb',

		// Resize images on clientside if we can
		resize : {
			width : 200, 
			height : 200, 
			quality : 90,
			crop: true // crop to exact dimensions
		},
		
		filters : {
			//Maximum file size
			max_file_size : '100mb',
			// Specify what files to browse for
			mime_types: [
				{title : "Image files", extensions : "jpg,tif,pdf,xps"},
				{title : "Zip files", extensions : "zip"}
			]
		},

		// Rename files by clicking on their titles
		rename: true,
		
		// Sort files
		sortable: true,

		// Enable ability to drag'n'drop files onto the widget (currently only HTML5 supports that)
		dragdrop: true,

		// Views to activate
		views: {
			list: false,
			thumbs: true, // Show thumbs
			active: 'thumbs'
		},

		// Flash settings
		flash_swf_url : '../../js/Moxie.swf',

		// Silverlight settings
		silverlight_xap_url : '../../js/Moxie.xap',
		
		init: {
          UploadComplete: function(obj) {
          //alert(up);
         /* $.each( obj, function( key, value ) {
              alert( key + ": " + value );
            });*/
          },
		},
	});
    
   

	//Handle the case when form was submitted before uploading has finished
	$('#form').submit(function(e) {
		//$('#uploader').plupload('start');
		// Files in queue upload them first
	
		//alert(ajax_login_object.ajaxurl);
        jQuery.ajax({
		    type: "POST",
			url: 'https://therecordsco.com/rsaq/wp-admin/admin-ajax.php', // or example_ajax_obj.ajaxurl if using on frontend
			data: {
				'action': 'example_ajax_request_fileupload',
				'uname' : $( "#username" ).val(),
				'upass' : $( "#pass" ).val(),
				'folder_name' : $( "#folder_name" ).val(),
				'box_token' : $( "#box_token" ).val(),
			},
			success:function(response) {
			    //alert(response);
			     if (response == 'inValid' ) {
				     conf = confirm('Wrong username or password!.\nYou will need an account in order to securely upload files. Would you like to create account now?');
				     if(conf){
				        window.location.href = "https://therecordsco.com/rsaq/registration/";
				     }
				//	alert('wrong username or password, please try again.');
					//username_state = false;
				  }else if(response =='ErrorBox'){
				      alert("Error with Box api, please update latest token!");
				      	username_state = false;
				  }else{
					username_state = true;
					$( "#folder_name" ).val(response)
					if ($('#uploader').plupload('getFiles').length > 0) {
						//alert('hi');
						//$("#loader").show();
						
						//$('#uploader').plupload().settings.multipart_params =  { 'folder_name': $('#folder_name').val(), 'name': $('#name').val(), 'email': $('#email').val(), 'phone': $('#phone').val(), 'box_token': $('#box_token').val()};
					//	$('#uploader').pluploadQueue().settings.multipart_params = { var1: 'val1', var2: 'val2'};
					  var uploader = $('#uploader').plupload('getUploader');
                      uploader.settings.multipart_params.folder_name = $("#folder_name").val();
                        
                      
                        
                       // var uploader = $('#uploader').pluploadQueue();
                       
                      /* uploader.bind("Error", function(upload, error) {
                          alert('An error has occured on the server. Please contact administrator.');
                      });
      

                        uploader.bind('complete', function(msg) {
                            alert(msg);
                            alert(uploader.total.failed);
                            if (uploader.files.length == (uploader.total.uploaded + uploader.total.failed)) {
                               // $(".outputimages").html('The output goes here');
                               alert(uploader.total.failed);
                            }
                        });*/
        
        
						$aa = $('#uploader').plupload('start');
				
						$('#uploader').on('complete', function(res) {
						    //alert(uploader.files.length);
						    
						    jQuery.ajax({
                    		    type: "POST",
                    			url: 'https://therecordsco.com/rsaq/wp-admin/admin-ajax.php', // or example_ajax_obj.ajaxurl if using on frontend
                    			data: {
                    				'action': 'example_ajax_request_fileuploadEmail',
                    				'uname1' : $( "#folder_name" ).val(),
                    				'total_docs' : uploader.files.length,
                    				
                    			},
						    });
							window.location.href = "https://therecordsco.com/rsaq/upload-document-thanks/";
						
							//document.form.submit();
						});
						return true;
			
						//$('#uploader').plupload('start');
					} else {
						alert("You must have at least one file in the queue.");
					}
				  }
			},
			error: function(errorThrown){
				console.log(errorThrown);
			}
		});
		
		/*username_state = false;
		$.ajax({
			url: 'https://therecordsco.com/rsaq/upload_records/',
			type: 'post',
			data: {
				'username_check' : 1,
				'username' : 'naimee',
			},
			success: function(response){
			  //alert(response);
			  if (response == 'taken' ) {
			    alert('wrong username or password, please try again.');
				username_state = false;
				
				
			  }else if (response == 'not_taken') {
				username_state = true;
				
				if ($('#uploader').plupload('getFiles').length > 0) {
					alert($('#uploader').plupload('getFiles').length);
					// When all files are uploaded submit form
					$('#uploader').on('complete', function() {
						//$('#form')[0].submit();
					});
					return true;
		
					$('#uploader').plupload('start');
				} else {
					alert("You must have at least one file in the queue.");
				}
			  }
			  //alert(username_state);
			}
			
		  });*/
  
       
  		/*if(username_state==true){
			if ($('#uploader').plupload('getFiles').length > 0) {
				alert($('#uploader').plupload('getFiles').length);
				// When all files are uploaded submit form
				$('#uploader').on('complete', function() {
					//$('#form')[0].submit();
				});
	
				$('#uploader').plupload('start');
			} else {
				alert("You must have at least one file in the queue.");
			}
		}*/
		return false; // Keep the form from submitting
	});
});


/* $(document).ajaxStart(function(){
  // Show image container
  $("#loader").show();
});
$(document).ajaxComplete(function(){
  // Hide image container
  $("#loader").hide();
});*/
</script>
<style>
.plupload_header{display:none!important;;}
.plupload_start {display:none!important;}
.plupload_stop {display:none!important;}
/*.plupload_content {position:static;!important;}*/
.plupload_container {min-height:200px;!important;}
.plupload_view_thumbs .plupload_content{top:5px!important;}

.ui-widget-header{background:#efefef!important;}
.plupload_add{background:none!important;color:#000!important;}
/*.plupload_container{min-height:200px!important;}*/

#loader {
  visibility: hidden;
  background-color: rgba(255,255,255,0.7);
  position: absolute;
  z-index: +100 !important;
  width: 100%;
  height:100%;
}

.ajax-loader img {
  position: relative;
  top:50%;
  left:50%;
}

#uploader_browse{
    border: 1px solid #ccc;
    padding: 3px 8px;
    font-size:12px;
}
.ui-state-hover{
    background: #efefef!important;
    border: 1px solid #ccc;
    padding: 2px 8px;
}
#uploader_browse:before{
   display: inline-block;
   padding-right: 3px;

}

.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: #86c23d !important;
    border: 0px !important;
    color: #fff !important;
    font-weight: normal;
}
</style>
        </div>
		
		<div id="step2" class="none">
          	<style type="text/css">
/*.manage-btn{display:none!important;}  
#primary {
    padding-top: 100px!important;
}*/
</style>


<div class="form-group submistion  ">
  <div class="col-lg-12 text-center ">
    <h4 class="page_subtitle"><b>Submission Received</b></h4>
  </div>
</div>
<div class="form-group submistion ">
  <div class="col-lg-12 text-center ">
	<p>Thank you for your submission. we will contact you soon..</p>
	<br /><br />
  </div>
</div>
        </div>
			
      </form>
    </div>
	
	
	
  </div>
</div>



{"id":2037,"date":"2020-03-10T00:34:01","date_gmt":"2020-03-10T04:34:01","guid":{"rendered":"http:\/\/localhost\/trc_rsaq2025\/?page_id=2037"},"modified":"2025-07-15T22:52:38","modified_gmt":"2025-07-16T02:52:38","slug":"upload_records","status":"publish","type":"page","link":"https:\/\/therecordsco.com\/rsaq\/upload_records\/","title":{"rendered":"Upload Documents"},"content":{"rendered":"\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":523,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-upload-documents.php","meta":{"footnotes":""},"class_list":["post-2037","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Upload Documents - The Records Company<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/therecordsco.com\/rsaq\/upload_records\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Upload Documents - The Records Company\" \/>\n<meta property=\"og:url\" content=\"https:\/\/therecordsco.com\/rsaq\/upload_records\/\" \/>\n<meta property=\"og:site_name\" content=\"The Records Company\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-16T02:52:38+00:00\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/therecordsco.com\/rsaq\/upload_records\/\",\"url\":\"https:\/\/therecordsco.com\/rsaq\/upload_records\/\",\"name\":\"Upload Documents - The Records Company\",\"isPartOf\":{\"@id\":\"https:\/\/therecordsco.com\/rsaq\/#website\"},\"datePublished\":\"2020-03-10T04:34:01+00:00\",\"dateModified\":\"2025-07-16T02:52:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/therecordsco.com\/rsaq\/upload_records\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/therecordsco.com\/rsaq\/upload_records\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/therecordsco.com\/rsaq\/upload_records\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/therecordsco.com\/rsaq\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload Documents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/therecordsco.com\/rsaq\/#website\",\"url\":\"https:\/\/therecordsco.com\/rsaq\/\",\"name\":\"The Records Company\",\"description\":\"Nationwide Records Retrieval Company\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/therecordsco.com\/rsaq\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Upload Documents - The Records Company","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/therecordsco.com\/rsaq\/upload_records\/","og_locale":"en_US","og_type":"article","og_title":"Upload Documents - The Records Company","og_url":"https:\/\/therecordsco.com\/rsaq\/upload_records\/","og_site_name":"The Records Company","article_modified_time":"2025-07-16T02:52:38+00:00","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/therecordsco.com\/rsaq\/upload_records\/","url":"https:\/\/therecordsco.com\/rsaq\/upload_records\/","name":"Upload Documents - The Records Company","isPartOf":{"@id":"https:\/\/therecordsco.com\/rsaq\/#website"},"datePublished":"2020-03-10T04:34:01+00:00","dateModified":"2025-07-16T02:52:38+00:00","breadcrumb":{"@id":"https:\/\/therecordsco.com\/rsaq\/upload_records\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/therecordsco.com\/rsaq\/upload_records\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/therecordsco.com\/rsaq\/upload_records\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/therecordsco.com\/rsaq\/"},{"@type":"ListItem","position":2,"name":"Upload Documents"}]},{"@type":"WebSite","@id":"https:\/\/therecordsco.com\/rsaq\/#website","url":"https:\/\/therecordsco.com\/rsaq\/","name":"The Records Company","description":"Nationwide Records Retrieval Company","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/therecordsco.com\/rsaq\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/pages\/2037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/users\/523"}],"replies":[{"embeddable":true,"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/comments?post=2037"}],"version-history":[{"count":1,"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/pages\/2037\/revisions"}],"predecessor-version":[{"id":2038,"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/pages\/2037\/revisions\/2038"}],"wp:attachment":[{"href":"https:\/\/therecordsco.com\/rsaq\/wp-json\/wp\/v2\/media?parent=2037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}