Catalog/Enerpac/Custom Literature Request
Enerpac

Custom Literature Request

SKU: custom-literature-request

Our experts will contact you within 24 hours.

Product Description

$(function () { var todayTimeStamp = +new Date(); // Unix timestamp in milliseconds var oneDayTimeStamp = 1000 * 60 * 60 * 24; // Milliseconds in a day var diff = todayTimeStamp + oneDayTimeStamp; var yesterdayDate = new Date(diff); var yesterdayString = yesterdayDate.getFullYear() + '-' + (yesterdayDate.getMonth() + 1) + '-' + yesterdayDate.getDate(); var tomorrowDate = yesterdayDate.getMonth() + 1 + '/' + yesterdayDate.getDate() + '/' + yesterdayDate .getFullYear(); var dateParts = tomorrowDate.split('/'); var newDate = dateParts[2] + '-' + dateParts[0] + '-' + dateParts[1]; // yyyy-mm-dd format $('input[name=inp_1491]').val(newDate); //Start SFDC Country Code $("select[name='inp_14']").on('change blur', function () { var jj = $(this).val(); var st = $(this).find('option:selected').text(); var newCountry = ''; console.log(st); console.log(jj); if (jj == 'Afghanistan') { newCountry = 'Afghanistan'; } else if (jj == 'Aland Islands') { newCountry = 'Aland Islands'; } else if (jj == 'Albania') { newCountry = 'Albania'; } else if (jj == 'Algeria') { newCountry = 'Algeria'; } else if (jj == 'Andorra') { newCountry = 'Andorra'; } else if (jj == 'Angola') { newCountry = 'Angola'; } else if (jj == 'Anguilla') { newCountry = 'Anguilla'; } else if (jj == 'Antarctica') { newCountry = 'Antarctica'; } else if (jj == 'Antigua and Barbuda') { newCountry = 'Antigua and Barbuda'; } else if (jj == 'Argentina') { newCountry = 'Argentina'; } else if (jj == 'Armenia') { newCountry = 'Armenia'; } else if (jj == 'Aruba') { newCountry = 'Aruba'; } else if (jj == 'Australia') { newCountry = 'Australia'; } else if (jj == 'Austria') { newCountry = 'Austria'; } else if (jj == 'Azerbaijan') { newCountry = 'Azerbaijan'; } else if (jj == 'Bahamas') { newCountry = 'Bahamas'; } else if (jj == 'Bahrain') { newCountry = 'Bahrain'; } else if (jj == 'Bangladesh') { newCountry = 'Bangladesh'; } else if (jj == 'Barbados') { newCountry = 'Barbados'; } else if (jj == 'Belarus') { newCountry = 'Belarus'; } else if (jj == 'Belgium') { newCountry = 'Belgium'; } else if (jj == 'Belize') { newCountry = 'Belize'; } else if (jj == 'Benin') { newCountry = 'Benin'; } else if (jj == 'Bermuda') { newCountry = 'Bermuda'; } else if (jj == 'Bhutan') { newCountry = 'Bhutan'; } else if (jj == 'Bolivarian Republic of Venezuela') { newCountry = 'Bolivarian Republic of Venezuela'; } else if (jj == 'Bonaire-Sint Eustatius and Saba') { newCountry = 'Bonaire; Sint Eustatius and Saba'; } else if (jj == 'Bosnia and Herzegovina') { newCountry = 'Bosnia and Herzegovina'; } else if (jj == 'Botswana') { newCountry = 'Botswana'; } else if (jj == 'Bouvet Island') { newCountry = 'Bouvet Island'; } else if (jj == 'Brazil') { newCountry = 'Brazil'; } else if (jj == 'British Indian Ocean Territory') { newCountry = 'British Indian Ocean Territory'; } else if (jj == 'Brunei Darussalam') { newCountry = 'Brunei Darussalam'; } else if (jj == 'Bulgaria') { newCountry = 'Bulgaria'; } else if (jj == 'Burkina Faso') { newCountry = 'Burkina Faso'; } else if (jj == 'Burundi') { newCountry = 'Burundi'; } else if (jj == 'Cambodia') { newCountry = 'Cambodia'; } else if (jj == 'Cameroon') { newCountry = 'Cameroon'; } else if (jj == 'Canada') { newCountry = 'Canada'; } else if (jj == 'Cape Verde') { newCountry = 'Cape Verde'; } else if (jj == 'Cayman Islands') { newCountry = 'Cayman Islands'; } else if (jj == 'Central African Republic') { newCountry = 'Central African Republic'; } else if (jj == 'Chad') { newCountry = 'Chad'; } else if (jj == 'Chile') { newCountry = 'Chile'; } else if (jj == 'China') { newCountry = 'China'; } else if (jj == 'Chinese Taipei') { newCountry = 'Chinese Taipei'; } else if (jj == 'Christmas Island') { newCountry = 'Christmas Island'; } else if (jj == 'Cocos (Keeling) Islands') { newCountry = 'Cocos (Keeling) Islands'; } else if (jj == 'Colombia') { newCountry = 'Colombia'; } else if (jj == 'Comoros') { newCountry = 'Comoros'; } else if (jj == 'Congo') { newCountry = 'Congo'; } else if (jj == 'Congo - the Democratic Republic of the') { newCountry = 'Congo, the Democratic Republic of the'; } else if (jj == 'Cook Islands') { newCountry = 'Cook Islands'; } else if (jj == 'Costa Rica') { newCountry = 'Costa Rica'; } else if (jj == 'Cote dIvoire') { newCountry = 'Cote d'Ivoire'; } else if (jj == 'Croatia') { newCountry = 'Croatia'; } else if (jj == 'Cuba') { newCountry = 'Cuba'; } else if (jj == 'Curaçao') { newCountry = 'Curaçao'; } else if (jj == 'Cyprus') { newCountry = 'Cyprus'; } else if (jj == 'Czech Republic') { newCountry = 'Czech Republic'; } else if (jj == 'Democratic Peoples Republic of Korea') { newCountry = 'Democratic Peoples Republic of Korea'; } else if (jj == 'Denmark') { newCountry = 'Denmark'; } else if (jj == 'Djibouti') { newCountry = 'Djibouti'; } else if (jj == 'Dominica') { newCountry = 'Dominica'; } else if (jj == 'Dominican Republic') { newCountry = 'Dominican Republic'; } else if (jj == 'Ecuador') { newCountry = 'Ecuador'; } else if (jj == 'Egypt') { newCountry = 'Egypt'; } else if (jj == 'El Salvador') { newCountry = 'El Salvador'; } else if (jj == 'Eritrea') { newCountry = 'Eritrea'; } else if (jj == 'Estonia') { newCountry = 'Estonia'; } else if (jj == 'Ethiopia') { newCountry = 'Ethiopia'; } else if (jj == 'Falkland Islands (Malvinas)') { newCountry = 'Falkland Islands (Malvinas)'; } else if (jj == 'Faroe Islands') { newCountry = 'Faroe Islands'; } else if (jj == 'Fiji') { newCountry = 'Fiji'; } else if (jj == 'Finland') { newCountry = 'Finland'; } else if (jj == 'France') { newCountry = 'France'; } else if (jj == 'French Guiana') { newCountry = 'French Guiana'; } else if (jj == 'French Polynesia') { newCountry = 'French Polynesia'; } else if (jj == 'French Southern Territories') { newCountry = 'French Southern Territories'; } else if (jj == 'Gabon') { newCountry = 'Gabon'; } else if (jj == 'Gambia') { newCountry = 'Gambia'; } else if (jj == 'Georgia') { newCountry = 'Georgia'; } else if (jj == 'Germany') { newCountry = 'Germany'; } else if (jj == 'Ghana') { newCountry = 'Ghana'; } else if (jj == 'Gibraltar') { newCountry = 'Gibraltar'; } else if (jj == 'Greece') { newCountry = 'Greece'; } else if (jj == 'Greenland') { newCountry = 'Greenland'; } else if (jj == 'Grenada') { newCountry = 'Grenada'; } else if (jj == 'Guadeloupe') { newCountry = 'Guadeloupe'; } else if (jj == 'Guam') { newCountry = 'Guam'; } else if (jj == 'Guatemala') { newCountry = 'Guatemala'; } else if (jj == 'Guernsey') { newCountry = 'Guernsey'; } else if (jj == 'Guinea') { newCountry = 'Guinea'; } else if (jj == 'Guinea-Bissau') { newCountry = 'Guinea-Bissau'; } else if (jj == 'Guyana') { newCountry = 'Guyana'; } else if (jj == 'Haiti') { newCountry = 'Haiti'; } else if (jj == 'Heard Island and McDonald Islands') { newCountry = 'Heard Island and McDonald Islands'; } else if (jj == 'Holy See (Vatican City State)') { newCountry = 'Holy See (Vatican City State)'; } else if (jj == 'Honduras') { newCountry = 'Honduras'; } else if (jj == 'Hong Kong') { newCountry = 'Hong Kong'; } else if (jj == 'Hungary') { newCountry = 'Hungary'; } else if (jj == 'Iceland') { newCountry = 'Iceland'; } else if (jj == 'India') { newCountry = 'India'; } else if (jj == 'Indonesia') { newCountry = 'Indonesia'; } else if (jj == 'Iraq') { newCountry = 'Iraq'; } else if (jj == 'Ireland') { newCountry = 'Ireland'; } else if (jj == 'Islamic Republic of Iran') { newCountry = 'Islamic Republic of Iran'; } else if (jj == 'Isle of Man') { newCountry = 'Isle of Man'; } else if (jj == 'Israel') { newCountry = 'Israel'; } else if (jj == 'Italy') { newCountry = 'Italy'; } else if (jj == 'Jamaica') { newCountry = 'Jamaica'; } else if (jj == 'Japan') { newCountry = 'Japan'; } else if (jj == 'Jersey') { newCountry = 'Jersey'; } else if (jj == 'Jordan') { newCountry = 'Jordan'; } else if (jj == 'Kazakhstan') { newCountry = 'Kazakhstan'; } else if (jj == 'Kenya') { newCountry = 'Kenya'; } else if (jj == 'Kiribati') { newCountry = 'Kiribati'; } else if (jj == 'Kuwait') { newCountry = 'Kuwait'; } else if (jj == 'Kyrgyzstan') { newCountry = 'Kyrgyzstan'; } else if (jj == 'Lao Peoples Democratic Republic') { newCountry = 'Lao People's Democratic Republic'; } else if (jj == 'Latvia') { newCountry = 'Latvia'; } else if (jj == 'Lebanon') { newCountry = 'Lebanon'; } else if (jj == 'Lesotho') { newCountry = 'Lesotho'; } else if (jj == 'Liberia') { newCountry = 'Liberia'; } else if (jj == 'Libyan Arab Jamahiriya') { newCountry = 'Libyan Arab Jamahiriya'; } else if (jj == 'Liechtenstein') { newCountry = 'Liechtenstein'; } else if (jj == 'Lithuania') { newCountry = 'Lithuania'; } else if (jj == 'Luxembourg') { newCountry = 'Luxembourg'; } else if (jj == 'Macao') { newCountry = 'Macao'; } else if (jj == 'Macedonia (FYROM)') { newCountry = 'Macedonia (FYROM)'; } else if (jj == 'Madagascar') { newCountry = 'Madagascar'; } else if (jj == 'Malawi') { newCountry = 'Malawi'; } else if (jj == 'Malaysia') { newCountry = 'Malaysia'; } else if (jj == 'Maldives') { newCountry = 'Maldives'; } else if (jj == 'Mali') { newCountry = 'Mali'; } else if (jj == 'Malta') { newCountry = 'Malta'; } else if (jj == 'Martinique') { newCountry = 'Martinique'; } else if (jj == 'Mauritania') { newCountry = 'Mauritania'; } else if (jj == 'Mauritius') { newCountry = 'Mauritius'; } else if (jj == 'Mayotte') { newCountry = 'Mayotte'; } else if (jj == 'Mexico') { newCountry = 'Mexico'; } else if (jj == 'Monaco') { newCountry = 'Monaco'; } else if (jj == 'Mongolia') { newCountry = 'Mongolia'; } else if (jj == 'Montenegro') { newCountry = 'Montenegro'; } else if (jj == 'Montserrat') { newCountry = 'Montserrat'; } else if (jj == 'Morocco') { newCountry = 'Morocco'; } else if (jj == 'Mozambique') { newCountry = 'Mozambique'; } else if (jj == 'Myanmar') { newCountry = 'Myanmar'; } else if (jj == 'Namibia') { newCountry = 'Namibia'; } else if (jj == 'Nauru') { newCountry = 'Nauru'; } else if (jj == 'Nepal') { newCountry = 'Nepal'; } else if (jj == 'Netherlands') { newCountry = 'Netherlands'; } else if (jj == 'New Caledonia') { newCountry = 'New Caledonia'; } else if (jj == 'New Zealand') { newCountry = 'New Zealand'; } else if (jj == 'Nicaragua') { newCountry = 'Nicaragua'; } else if (jj == 'Niger') { newCountry = 'Niger'; } else if (jj == 'Nigeria') { newCountry = 'Nigeria'; } else if (jj == 'Niue') { newCountry = 'Niue'; } else if (jj == 'Norfolk Island') { newCountry = 'Norfolk Island'; } else if (jj == 'Norway') { newCountry = 'Norway'; } else if (jj == 'Oman') { newCountry = 'Oman'; } else if (jj == 'Pakistan') { newCountry = 'Pakistan'; } else if (jj == 'Palestinian Territory') { newCountry = 'Palestinian Territory'; } else if (jj == 'Panama') { newCountry = 'Panama'; } else if (jj == 'Papua New Guinea') { newCountry = 'Papua New Guinea'; } else if (jj == 'Paraguay') { newCountry = 'Paraguay'; } else if (jj == 'Peru') { newCountry = 'Peru'; } else if (jj == 'Philippines') { newCountry = 'Philippines'; } else if (jj == 'Pitcairn') { newCountry = 'Pitcairn'; } else if (jj == 'Plurinational State of Bolivia') { newCountry = 'Plurinational State of Bolivia'; } else if (jj == 'Poland') { newCountry = 'Poland'; } else if (jj == 'Portugal') { newCountry = 'Portugal'; } else if (jj == 'Puerto Rico') { newCountry = 'Puerto Rico'; } else if (jj == 'Qatar') { newCountry = 'Qatar'; } else if (jj == 'Republic of Korea') { newCountry = 'Republic of Korea'; } else if (jj == 'Republic of Kosova') { newCountry = 'Republic of Kosova'; } else if (jj == 'Republic of Moldova') { newCountry = 'Republic of Moldova'; } else if (jj == 'Reunion') { newCountry = 'Reunion'; } else if (jj == 'Romania') { newCountry = 'Romania'; } else if (jj == 'Russian Federation') { newCountry = 'Russian Federation'; } else if (jj == 'Rwanda') { newCountry = 'Rwanda'; } else if (jj == 'Saint Barthélemy') { newCountry = 'Saint Barthélemy'; } else if (jj == 'Saint Helena - Ascension and Tristan da Cunha') { newCountry = 'Saint Helena, Ascension and Tristan da Cunha'; } else if (jj == 'Saint Kitts and Nevis') { newCountry = 'Saint Kitts and Nevis'; } else if (jj == 'Saint Lucia') { newCountry = 'Saint Lucia'; } else if (jj == 'Saint Martin (French part)') { newCountry = 'Saint Martin (French part)'; } else if (jj == 'Saint Pierre and Miquelon') { newCountry = 'Saint Pierre and Miquelon'; } else if (jj == 'Saint Vincent and the Grenadines') { newCountry = 'Saint Vincent and the Grenadines'; } else if (jj == 'Samoa') { newCountry = 'Samoa'; } else if (jj == 'San Marino') { newCountry = 'San Marino'; } else if (jj == 'Sao Tome and Principe') { newCountry = 'Sao Tome and Principe'; } else if (jj == 'Saudi Arabia') { newCountry = 'Saudi Arabia'; } else if (jj == 'Senegal') { newCountry = 'Senegal'; } else if (jj == 'Serbia') { newCountry = 'Serbia'; } else if (jj == 'Seychelles') { newCountry = 'Seychelles'; } else if (jj == 'Sierra Leone') { newCountry = 'Sierra Leone'; } else if (jj == 'Singapore') { newCountry = 'Singapore'; } else if (jj == 'Sint Maarten (Dutch part)') { newCountry = 'Sint Maarten (Dutch part)'; } else if (jj == 'Slovakia') { newCountry = 'Slovakia'; } else if (jj == 'Slovenia') { newCountry = 'Slovenia'; } else if (jj == 'Solomon Islands') { newCountry = 'Solomon Islands'; } else if (jj == 'Somalia') { newCountry = 'Somalia'; } else if (jj == 'South Africa') { newCountry = 'South Africa'; } else if (jj == 'South Georgia and the South Sandwich Islands') { newCountry = 'South Georgia and the South Sandwich Islands'; } else if (jj == 'South Sudan') { newCountry = 'South Sudan'; } else if (jj == 'Spain') { newCountry = 'Spain'; } else if (jj == 'Sri Lanka') { newCountry = 'Sri Lanka'; } else if (jj == 'Sudan') { newCountry = 'Sudan'; } else if (jj == 'Suriname') { newCountry = 'Suriname'; } else if (jj == 'Svalbard and Jan Mayen') { newCountry = 'Svalbard and Jan Mayen'; } else if (jj == 'Swaziland') { newCountry = 'Swaziland'; } else if (jj == 'Sweden') { newCountry = 'Sweden'; } else if (jj == 'Switzerland') { newCountry = 'Switzerland'; } else if (jj == 'Syrian Arab Republic') { newCountry = 'Syrian Arab Republic'; } else if (jj == 'Tajikistan') { newCountry = 'Tajikistan'; } else if (jj == 'Tanzania') { newCountry = 'Tanzania'; } else if (jj == 'Thailand') { newCountry = 'Thailand'; } else if (jj == 'Timor-Leste') { newCountry = 'Timor-Leste'; } else if (jj == 'Togo') { newCountry = 'Togo'; } else if (jj == 'Tokelau') { newCountry = 'Tokelau'; } else if (jj == 'Tonga') { newCountry = 'Tonga'; } else if (jj == 'Trinidad and Tobago') { newCountry = 'Trinidad and Tobago'; } else if (jj == 'Tunisia') { newCountry = 'Tunisia'; } else if (jj == 'Turkey') { newCountry = 'Turkey'; } else if (jj == 'Turkmenistan') { newCountry = 'Turkmenistan'; } else if (jj == 'Turks and Caicos Islands') { newCountry = 'Turks and Caicos Islands'; } else if (jj == 'Tuvalu') { newCountry = 'Tuvalu'; } else if (jj == 'Uganda') { newCountry = 'Uganda'; } else if (jj == 'Ukraine') { newCountry = 'Ukraine'; } else if (jj == 'United Arab Emirates') { newCountry = 'United Arab Emirates'; } else if (jj == 'United Kingdom') { newCountry = 'United Kingdom'; } else if (jj == 'United States') { newCountry = 'United States'; } else if (jj == 'Uruguay') { newCountry = 'Uruguay'; } else if (jj == 'Uzbekistan') { newCountry = 'Uzbekistan'; } else if (jj == 'Vanuatu') { newCountry = 'Vanuatu'; } else if (jj == 'Viet Nam') { newCountry = 'Viet Nam'; } else if (jj == 'Virgin Islands-British') { newCountry = 'Virgin Islands-British'; } else if (jj == 'Wallis and Futuna') { newCountry = 'Wallis and Futuna'; } else if (jj == 'Western Sahara') { newCountry = 'Western Sahara'; } else if (jj == 'Yemen') { newCountry = 'Yemen'; } else if (jj == 'Zambia') { newCountry = 'Zambia'; } else if (jj == 'Zimbabwe') { newCountry = 'Zimbabwe'; } $("input[name='inp_1484']").val(newCountry); }); //End SFDC Country Code //Start SFDC State Code $(document).on('change blur', '#fillStateProv select', function () { var jj = $(this).val(); var st = $(this).find('option:selected').text(); var newState = ''; console.log(st); console.log(jj); if (jj == 'Alaska') { newState = 'Alaska'; } else if (jj == 'Alabama') { newState = 'Alabama'; } else if (jj == 'Arkansas') { newState = 'Arkansas'; } else if (jj == 'Arizona') { newState = 'Arizona'; } else if (jj == 'California') { newState = 'California'; } else if (jj == 'Colorado') { newState = 'Colorado'; } else if (jj == 'Connecticut') { newState = 'Connecticut'; } else if (jj == 'District of Columbia') { newState = 'D.C.'; } else if (jj == 'Delaware') { newState = 'Delaware'; } else if (jj == 'Florida') { newState = 'Florida'; } else if (jj == 'Georgia') { newState = 'Georgia'; } else if (jj == 'Hawaii') { newState = 'Hawaii'; } else if (jj == 'Iowa') { newState = 'Iowa'; } else if (jj == 'Idaho') { newState = 'Idaho'; } else if (jj == 'Illinois') { newState = 'Illinois'; } else if (jj == 'Indiana') { newState = 'Indiana'; } else if (jj == 'Kansas') { newState = 'Kansas'; } else if (jj == 'Kentucky') { newState = 'Kentucky'; } else if (jj == 'Louisiana') { newState = 'Louisiana'; } else if (jj == 'Massachusetts') { newState = 'Massachusetts'; } else if (jj == 'Maryland') { newState = 'Maryland'; } else if (jj == 'Maine') { newState = 'Maine'; } else if (jj == 'Michigan') { newState = 'Michigan'; } else if (jj == 'Minnesota') { newState = 'Minnesota'; } else if (jj == 'Missouri') { newState = 'Missouri'; } else if (jj == 'Mississippi') { newState = 'Mississippi'; } else if (jj == 'Montana') { newState = 'Montana'; } else if (jj == 'North Carolina') { newState = 'North Carolina'; } else if (jj == 'North Dakota') { newState = 'North Dakota'; } else if (jj == 'Nebraska') { newState = 'Nebraska'; } else if (jj == 'New Hampshire') { newState = 'New Hampshire'; } else if (jj == 'New Jersey') { newState = 'New Jersey'; } else if (jj == 'New Mexico') { newState = 'New Mexico'; } else if (jj == 'Nevada') { newState = 'Nevada'; } else if (jj == 'New York') { newState = 'New York'; } else if (jj == 'Ohio') { newState = 'Ohio'; } else if (jj == 'Oklahoma') { newState = 'Oklahoma'; } else if (jj == 'Oregon') { newState = 'Oregon'; } else if (jj == 'Pennsylvania') { newState = 'Pennsylvania'; } else if (jj == 'Puerto Rico') { newState = 'Puerto Rico'; } else if (jj == 'Rhode Island') { newState = 'Rhode Island'; } else if (jj == 'South Carolina') { newState = 'South Carolina'; } else if (jj == 'South Dakota') { newState = 'South Dakota'; } else if (jj == 'Tennessee') { newState = 'Tennessee'; } else if (jj == 'Texas') { newState = 'Texas'; } else if (jj == 'Utah') { newState = 'Utah'; } else if (jj == 'Virginia') { newState = 'Virginia'; } else if (jj == 'Virginia') { newState = 'Virginia'; } else if (jj == 'Vermont') { newState = 'Vermont'; } else if (jj == 'Washington') { newState = 'Washington'; } else if (jj == 'Wisconsin') { newState = 'Wisconsin'; } else if (jj == 'West Virginia') { newState = 'West Virginia'; } else if (jj == 'Wyoming') { newState = 'Wyoming'; } else if (jj == 'Alberta') { newState = 'Alberta'; } else if (jj == 'Manitoba') { newState = 'Manitoba'; } else if (jj == 'British Columbia') { newState = 'British Columbia'; } else if (jj == 'New Brunswick') { newState = 'New Brunswick'; } else if (jj == 'Newfoundland and Labrador') { newState = 'Newfoundland and Labrador'; } else if (jj == 'Nova Scotia') { newState = 'Nova Scotia'; } else if (jj == 'Northwest Territories') { newState = 'Northwest Territories'; } else if (jj == 'Nunavut') { newState = 'Nunavut'; } else if (jj == 'Ontario') { newState = 'Ontario'; } else if (jj == 'Prince Edward Island') { newState = 'Prince Edward Island'; } else if (jj == 'Quebec') { newState = 'Quebec'; } else if (jj == 'Saskatchewan') { newState = 'Saskatchewan'; } else if (jj == 'Yukon Territory') { newState = 'Yukon Territory'; } else if (jj == 'Australian Capital Territory') { newState = 'Australian Capital Territory'; } else if (jj == 'New South Wales') { newState = 'New South Wales'; } else if (jj == 'Northern Territory') { newState = 'Northern Territory'; } else if (jj == 'Queensland') { newState = 'Queensland'; } else if (jj == 'South Australia') { newState = 'South Australia'; } else if (jj == 'Tasmania') { newState = 'Tasmania'; } else if (jj == 'Victoria') { newState = 'Victoria'; } else if (jj == 'Western Australia') { newState = 'Western Australia'; } else if (jj == 'Aguascalientes') { newState = 'Aguascalientes'; } else if (jj == 'Baja California') { newState = 'Baja California'; } else if (jj == 'Baja California Sur') { newState = 'Baja California Sur'; } else if (jj == 'Chihuahua') { newState = 'Chihuahua'; } else if (jj == 'Colima') { newState = 'Colima'; } else if (jj == 'Campeche') { newState = 'Campeche'; } else if (jj == 'Coahuila') { newState = 'Coahuila'; } else if (jj == 'Chiapas') { newState = 'Chiapas'; } else if (jj == 'Ciudad de México') { newState = 'Ciudad de México'; } else if (jj == 'Durango') { newState = 'Durango'; } else if (jj == 'Guerrero') { newState = 'Guerrero'; } else if (jj == 'Guanajuato') { newState = 'Guanajuato'; } else if (jj == 'Hidalgo') { newState = 'Hidalgo'; } else if (jj == 'Jalisco') { newState = 'Jalisco'; } else if (jj == 'Mexico State') { newState = 'Mexico State'; } else if (jj == 'Michoacán') { newState = 'Michoacán'; } else if (jj == 'Morelos') { newState = 'Morelos'; } else if (jj == 'Nayarit') { newState = 'Nayarit'; } else if (jj == 'Nuevo León') { newState = 'Nuevo León'; } else if (jj == 'Oaxaca') { newState = 'Oaxaca'; } else if (jj == 'Puebla') { newState = 'Puebla'; } else if (jj == 'Querétaro') { newState = 'Querétaro'; } else if (jj == 'Quintana Roo') { newState = 'Quintana Roo'; } else if (jj == 'Sinaloa') { newState = 'Sinaloa'; } else if (jj == 'San Luis Potosí') { newState = 'San Luis Potosí'; } else if (jj == 'Sonora') { newState = 'Sonora'; } else if (jj == 'Tabasco') { newState = 'Tabasco'; } else if (jj == 'Tlaxcala') { newState = 'Tlaxcala'; } else if (jj == 'Tamaulipas') { newState = 'Tamaulipas'; } else if (jj == 'Veracruz') { newState = 'Veracruz'; } else if (jj == 'Yucatán') { newState = 'Yucatán'; } else if (jj == 'Zacatecas') { newState = 'Zacatecas'; } else if (jj == 'Acre') { newState = 'Acre'; } else if (jj == 'Alagoas') { newState = 'Alagoas'; } else if (jj == 'Amazonas') { newState = 'Amazonas'; } else if (jj == 'Amapá') { newState = 'Amapás'; } else if (jj == 'Bahia') { newState = 'Bahia'; } else if (jj == 'Ceará') { newState = 'Ceará'; } else if (jj == 'Distrito Federal') { newState = 'Distrito Federal'; } else if (jj == 'Espírito Santo') { newState = 'Espírito Santo'; } else if (jj == 'Goiás') { newState = 'Goiás'; } else if (jj == 'Maranhão') { newState = 'Maranhão'; } else if (jj == 'Minas Gerais') { newState = 'Minas Gerais'; } else if (jj == 'Mato Grosso do Sul') { newState = 'Mato Grosso do Sul'; } else if (jj == 'Mato Grosso') { newState = 'Mato Grosso'; } else if (jj == 'Pará') { newState = 'Pará'; } else if (jj == 'Paraíba') { newState = 'Paraíba'; } else if (jj == 'Pernambuco') { newState = 'Pernambuco'; } else if (jj == 'Piauí') { newState = 'Piauí'; } else if (jj == 'Paraná') { newState = 'Paraná'; } else if (jj == 'Rio de Janeiro') { newState = 'Rio de Janeiro'; } else if (jj == 'Rio Grande do Norte') { newState = 'Rio Grande do Norte'; } else if (jj == 'Rondônia') { newState = 'Rondônia'; } else if (jj == 'Rio Grande do Sul') { newState = 'Rio Grande do Sul'; } else if (jj == 'Santa Catarina') { newState = 'Santa Catarina'; } else if (jj == 'Sergipe') { newState = 'Sergipe'; } else if (jj == 'São Paulo') { newState = 'São Paulo'; } else if (jj == 'Tocantins') { newState = 'Tocantins'; } $("input[name='inp_1485']").val(newState); }); //End SFDC State Code //Array of Region Data var N_America = ['Canada', 'United States']; var S_America = [ 'Anguilla', 'Antigua and Barbuda', 'Argentina', 'Aruba', 'Bahamas', 'Barbados', 'Belize', 'Bermuda', 'Bolivarian Republic of Venezuela', 'Bonaire-Sint Eustatius and Saba', 'Brazil', 'Cayman Islands', 'Chile', 'Colombia', 'Costa Rica', 'Cuba', 'Curaçao', 'Dominica', 'Dominican Republic', 'Ecuador', 'El Salvador', 'Falkland Islands (Malvinas)', 'French Guiana', 'Greenland', 'Grenada', 'Guadeloupe', 'Guatemala', 'Guyana', 'Haiti', 'Honduras', 'Jamaica', 'Martinique', 'Mexico', 'Nicaragua', 'Panama', 'Paraguay', 'Peru', 'Plurinational State of Bolivia', 'Puerto Rico', 'Saint Barthélemy', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin (French part)', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Sint Maarten (Dutch part)', 'South Georgia and the South Sandwich Islands', 'Suriname', 'Trinidad and Tobago', 'Turks and Caicos Islands', 'Uruguay', 'Virgin Islands-British' ]; var ESSA = [ 'Aland Islands', 'Albania', 'Andorra', 'Angola', 'Antarctica', 'Austria', 'Belarus', 'Belgium', 'Benin', 'Bosnia and Herzegovina', 'Botswana', 'Bulgaria', 'Burkina Faso,Burundi', 'Cameroon', 'Cape Verde', 'Central African Republic', 'Comoros', 'Congo', 'Congo - the Democratic Republic of the', 'Cote dIvoire', 'Croatia', 'Cyprus', 'Czech Republic', 'Denmark', 'Djibouti', 'El Salvador', 'Estonia', 'Ethiopia', 'Faroe Islands', 'Finland', 'France', 'French Southern Territories', 'Gabon', 'Gambia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Holy See (Vatican inp_11 State)', 'Hungary', 'Iceland', 'Ireland', 'Isle of Man', 'Israel', 'Italy', 'Jersey', 'Kenya', 'Latvia', 'Lesotho', 'Liberia', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Macedonia (FYROM)', 'Madagascar', 'Malawi', 'Malta', 'Mauritania', 'Mauritius', 'Mayotte', 'Monaco', 'Montenegro', 'Montserrat', 'Mozambique', 'Namibia', 'Netherlands', 'Niger', 'Nigeria', 'Norway', 'Poland', 'Portugal', 'Republic of Kosova', 'Republic of Moldova', 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', 'Saint Helena - Ascension and Tristan da Cunha', 'San Marino', 'Sao Tome and Principe', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Slovakia', 'Slovenia', 'Somalia', 'South Africa', 'South Sudan', 'Spain', 'Svalbard and Jan Mayen', 'Swaziland', 'Sweden', 'Switzerland', 'Tanzania', 'Togo', 'Turkey', 'Uganda', 'Ukraine', 'United Kingdom', 'Zambia', 'Zimbabwe' ]; var MENACI = [ 'Afghanistan', 'Algeria', 'Armenia', 'Azerbaijan', 'Bahrain', 'Bangladesh', 'Bhutan', 'British Indian Ocean Territory', 'Chad', 'Egypt', 'Eritrea', 'Georgia', 'India', 'Iraq', 'Islamic Republic of Iran', 'Jordan', 'Kazakhstan', 'Kuwait', 'Kyrgyzstan', 'Lebanon', 'Libyan Arab Jamahiriya', 'Maldives', 'Mali', 'Morocco', 'Nepal', 'Oman', 'Pakistan', 'Palestinian Territory', 'Qatar', 'Saudi Arabia', 'Sri Lanka', 'Sudan', 'Syrian Arab Republic', 'Tajikistan', 'Tunisia', 'Turkmenistan', 'United Arab Emirates', 'Uzbekistan', 'Western Sahara,Yemen' ]; var NEASIA = [ 'China', 'Chinese Taipei', 'Democratic Peoples Republic of Korea', 'Japan', 'Macao', 'Mongolia', 'Republic of Korea' ]; var AUSEA = [ 'Australia', 'Bouvet Island', 'Brunei Darussalam', 'Cambodia', 'Christmas Island', 'Cocos (Keeling) Islands', 'Cook Islands', 'Fiji', 'French Polynesia', 'Heard Island and McDonald Islands', 'Hong Kong', 'Indonesia', 'Kiribati', 'Lao Peoples Democratic Republic', 'Malaysia', 'Myanmar', 'Nauru', 'New Caledonia', 'New Zealand', 'Niue', 'Norfolk Island', 'Papua New Guinea', 'Philippines', 'Pitcairn', 'Samoa', 'Singapore', 'Solomon Islands', 'Thailand', 'Timor-Leste', 'Tokelau', 'Tonga', 'Tuvalu', 'Vanuatu', 'Viet Nam', 'Wallis and Futuna' ]; $("select[name='inp_14'],select[name='inp_12']").on('change', function () { var name = $("select[name='inp_14']").val(); if ($.inArray(name, N_America) != '-1') { $('input[name=inp_1455]').val('N America'); } else if ($.inArray(name, S_America) != '-1') { $('input[name=inp_1455]').val('S America'); } else if ($.inArray(name, ESSA) != '-1') { $('input[name=inp_1455]').val('ESSA'); } else if ($.inArray(name, MENACI) != '-1') { $('input[name=inp_1455]').val('MENACI'); } else if ($.inArray(name, NEASIA) != '-1') { $('input[name=inp_1455]').val('NE Asia'); } else if ($.inArray(name, AUSEA) != '-1') { $('input[name=inp_1455]').val('AUSEA'); } else {} // North American check START if (name !== '') { //State requirement Check StateReq inp_12 if (name == 'United States') { //Add Requirement $('#inp_12').show(); $('.aus').hide(); $('.can').hide(); $('.us').show(); $('.aus').attr('disabled', true); $('.can').attr('disabled', true); $('.us').attr('disabled', false); $('#StateReq').text('*'); $('select[name=inp_12]').prop('required', true); } else if (name == 'Canada') { //Remove Requirement $('#inp_12').show(); $('.aus').hide(); $('.can').show(); $('.us').hide(); $('.aus').attr('disabled', true); $('.can').attr('disabled', false); $('.us').attr('disabled', true); $('#StateReq').text('*'); $('select[name=inp_12]').prop('required', true); } else if (name == 'Australia') { $('#inp_12').show(); $('.aus').show(); $('.can').hide(); $('.us').hide(); $('.aus').attr('disabled', false); $('.can').attr('disabled', true); $('.us').attr('disabled', true); $('#StateReq').text('*'); $('select[name=inp_12]').prop('required', true); } else { $('#inp_12').hide(); $('#StateReq').text(''); $('select[name=inp_12]').prop('required', false); $('#inp_12').val(''); } } else { alert('please select a Country'); } }); var ckbox = $('#optin'); $('#optin').on('click', function () { if (ckbox.is(':checked')) { $('#emailMarketingStatus').val('Single Opt-in'); } else { $('#emailMarketingStatus').val('No'); } }); //remove special characters $('.textInputss').on('blur', function () { $('.j').remove(); }); function Errormsg() { $('.error').slideDown(); $('.inp_3').val(''); } //Email Address var component = { input: $('.emailAddresssss'), mensage: { fields: $('.msg'), success: $('.success'), error: $('.error') } }, regex = /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/; component.input.blur(function () { component.mensage.fields.hide(); regex.test(component.input.val()) ? component.mensage.success.show() : Errormsg(); }); }); //IE checkbox fix window.checkedIt = function (el) { var id = $(el).parent().prev().attr('id'); if ($('#' + id + '').attr('checked')) { $('#' + id + '').attr('checked', false); } else { $('#' + id + '').attr('checked', true); } }; Order Print Catalog or User Manual Catalogs For Download Complete list of Enerpac Catalogs for download   Order Print Catalog or User Manual To order a printed version of the Enerpac catalog, complete the form below and select the desired literature.   First Name * Last Name * Email Address * Special Characters are not allowed "!#$%^*()&'" Company Name * Address 1 * City * Country * please select Afghanistan Aland Islands Albania Algeria Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivarian Republic of Venezuela Bonaire; Sint Eustatius and Saba Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Chinese Taipei Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Congo, the Democratic Republic of the Cook Islands Costa Rica Cote d'Ivoire Croatia Cuba Curaçao Cyprus Czech Republic Democratic Peoples Republic of Korea Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Eritrea Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and McDonald Islands Holy See (Vatican inp_11 State) Honduras Hong Kong Hungary Iceland India Indonesia Iraq Ireland Islamic Republic of Iran Isle of Man Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Kuwait Kyrgyzstan Lao People's Democratic Republic Latvia Lebanon Lesotho Liberia Libyan Arab Jamahiriya Liechtenstein Lithuania Luxembourg Macao Macedonia (FYROM) Madagascar Malawi Malaysia Maldives Mali Malta Martinique Mauritania Mauritius Mayotte Mexico Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Norway Oman Pakistan Palestinian Territory Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Plurinational State of Bolivia Poland Portugal Puerto Rico Qatar Republic of Korea Republic of Kosova Republic of Moldova Reunion Romania Russian Federation Rwanda Saint Barthélemy Saint Helena, Ascension and Tristan da Cunha Saint Kitts and Nevis Saint Lucia Saint Martin (French part) Saint Pierre and Miquelon Saint Vincent and the Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Seychelles Sierra Leone Singapore Sint Maarten (Dutch part) Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands South Sudan Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syrian Arab Republic Tajikistan Tanzania Thailand Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States Uruguay Uzbekistan Vanuatu Viet Nam Virgin Islands-British Wallis and Futuna Western Sahara Yemen Zambia Zimbabwe State or Province Please Select... Alberta Manitoba British Columbia New Brunswick Newfoundland and Labrador Nova Scotia Northwest Territories Nunavut Ontario Prince Edward Island Quebec Saskatchewan Yukon Territory Australian Capital Territory New South Wales Northern Territory Queensland South Australia Tasmania Victoria Western Australia Alaska Alabama Arkansas Arizona California Colorado Connecticut D.C. Delaware Florida Georgia Guam Hawaii Iowa Idaho Illinois Indiana Kansas Kentucky Louisiana Massachusetts Maryland Maine Michigan Minnesota Missouri Mississippi Montana North Carolina North Dakota Nebraska New Hampshire New Jersey New Mexico Nevada New York Ohio Oklahoma Oregon Pennsylvania Puerto Rico Rhode Island South Carolina South Dakota Tennessee Texas Utah Virginia Virginia Vermont Washington Wisconsin West Virginia Wyoming Zip or Postal Code Business Phone Number of Copies Requested: * 1 2 3 4 5 6 7 8 9 10 Model Number (Required For User Manuals Only) *Click a catalog to make a selection NEW E330 Industrial Tools "Lifting, pushing, pulling, bending, spreading, cutting, lowering, pressing, punching... that is the real world of Enerpac. Providing professionals with hydraulic tools to work with and be profitable." E215 Workholding Catalog "Primarily providing solutions for the machining and machine tool industry and for workpiece holding applications in many other industries." E415 Bolting Catalog "A complete range of professional hydraulic and mechanical tools for the bolting industry." Yes I would like to receive product updates and emails from Enerpac .chkbx, .ebtn { cursor: pointer; } .mw, .mwl { max-width: 100% !important; min-width: 100% !important; } input[type='checkbox'][id^='cb'] { display: none; } input { border-radius: 0px; } .chkbx { border: 1px solid #fff; padding: 20px; display: block; position: relative; margin: 10px; } .chkbx:before { background-color: #fff; color: #fff; content: ' '; display: block; border: 1px solid grey; position: absolute; top: -13px; left: -4px; width: 21px; height: 25px; text-align: center; line-height: 28px; transition-duration: 0.4s; transform: scale(0); z-index: 600 !important; } .chkbx img { transition-duration: 0.2s; transform-origin: 50% 50%; z-index: 500 !important; } :checked+.chkbx { border: none !important; background: #c1c1c1; } :checked+.chkbx:before { content: '✓'; background-color: grey; transform: scale(3.5); } :checked+.chkbx img { transform: scale(0.9); box-shadow: 1px 11px 20px #666; z-index: -1; } label img { pointer-events: none; } .mwl { height: auto !important; } .arw, .mw { height: auto; } .mw { opacity: 0.8; } .lwrSmlTxt { margin-top: 4px; font-size: 13px !important; border-bottom: 1px solid #dadada; padding-bottom: 10px; } .arw { width: 25px; opacity: 0.3; position: absolute; bottom: 15px; right: 15px; } .topHeader { font-size: 2.2em; font-weight: 700; } .lowerLvl_2, .toplwr { padding: 15px; background: #ebebeb; } .lwrHeader { font-size: 16px; font-weight: 700; } .lowerLvl_1 { background: #dadada; padding: 15px; } .pFix, .pl { padding-left: 0; } .lowerLvl_2 { min-height: 186px; } .mgn { margin: 20px 0; } .rel { position: relative; } @media only screen and (max-width: 1000px) { .mb { margin-bottom: 15px; } .lowerLvl_2 { min-height: inherit !important; } } @media only screen and (max-width: 500px) { .mw { max-width: 100% !important; min-width: 100% !important; height: auto !important; } } .swish--wayra::before, .swishB--wayra::before { content: ''; top: 0; left: 0; width: 150%; height: 100%; } .swish--wayra { overflow: hidden; -webkit-transition: border-color 0.3s, color 0.3s; transition: border-color 0.3s, color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .swish--wayra::before { position: absolute; background: #fc0; z-index: -1; -webkit-transform: rotate3d(0, 0, 1, -85deg) translate3d(0, -3em, 0); transform: rotate3d(0, 0, 1, -85deg) translate3d(0, -3em, 0); -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-transition: -webkit-transform 0.1s, opacity 0.1s, background-color 0.1s; transition: transform 0.28s, opacity 0.28s, background-color 0.28s; } .button--wayra:hover { color: #fff; border-color: #3f51b5; border-radius: 0; } .swish--wayra.swish--inverted:hover { color: #3f51b5; border-color: #fff; } .swish--wayra:hover::before { opacity: 1; background-color: #fc0; -webkit-transform: rotate3d(0, 0, 1, 0deg); transform: rotate3d(0, 0, 1, 0deg); -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .swish--wayra.swish--inverted:hover::before { background-color: #fff; } .swish { border: none; color: inherit; vertical-align: middle; position: relative; z-index: 1; -webkit-backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; } .swishB--wayra { overflow: hidden; -webkit-transition: border-color 0.3s, color 0.3s; transition: border-color 0.3s, color 0.3s; -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .swishB--wayra::before { position: absolute; background: #fc0; z-index: -1; -webkit-transform: rotate3d(0, 0, 1, -85deg) translate3d(0, -3em, 0); transform: rotate3d(0, 0, 1, -85deg) translate3d(0, -3em, 0); -webkit-transform-origin: 0 100%; transform-origin: 0 100%; -webkit-transition: -webkit-transform 0.1s, opacity 0.1s, background-color 0.1s; transition: transform 0.28s, opacity 0.28s, background-color 0.28s; } .swishB--wayra.swishB--inverted:hover, .swishB--wayra:hover { color: #fff; border-color: #333; } .swishB--wayra:hover::before { opacity: 1; background-color: #333; -webkit-transform: rotate3d(0, 0, 1, 0deg); transform: rotate3d(0, 0, 1, 0deg); -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); } .swishB--wayra.swishB--inverted:hover::before { background-color: #333; } .t18 * { font-size: 18px; } :required { /*border: 1px solid red*/ } .mrgl { margin-left: 4px; } .bdr { border-bottom: 1px solid #dadada; padding-bottom: 18px; margin-bottom: 10px; } .btn-primary, .ebtn { font-weight: 700; border: none; } .mw { height: auto !important; } .pFix { padding-right: 10px; } .inlinechk { display: inline; width: 15px; vertical-align: sub; } .LV_valid, .msg { display: none; } input, select { width: 100%; } .TextObject address, p { margin: 0; } #inp_1 { transition: all 0.5s ease; } p img { margin: 4.5px; } .p10 { padding: 10px; } input, select, textarea { padding: 5px; } ::-webkit-input-placeholder { color: #dadada; } ::-moz-placeholder { color: #dadada; } :-ms-input-placeholder { color: #dadada; } :-moz-placeholder { color: #dadada; } span.required { color: #c00 !important; } .LV_invalid, .error { color: #c00; font-size: 10px; padding: 2px; font-weight: 700; } .btn-primary { color: #000; background-color: #fc0; } .btn-primary:focus, .btn-primary:hover { background-color: #000; color: #fc0; } @media only screen and (max-width: 1000px) { .pFixR { padding-left: 0; } } .ebtn { color: #fff !important; text-transform: none; font-family: Roboto; display: inline-block; padding: 15px 30px; background-color: #292929; line-height: 16px; text-decoration: none !important; } .ebtn:hover { background: #ffcc01; color: #000 !important; } var LiveValidation = function (B, A) { this.initialize(B, A); }; LiveValidation.VERSION = '1.3 standalone'; LiveValidation.TEXTAREA = 1; LiveValidation.TEXT = 2; LiveValidation.PASSWORD = 3; LiveValidation.CHECKBOX = 4; LiveValidation.SELECT = 5; LiveValidation.FILE = 6; LiveValidation.massValidate = function (C) { var D = true; for (var B = 0, A = C.length; B = 300) { this.removeMessageAndFieldClass(); } var A = this; if (this.timeout) { clearTimeout(A.timeout); } this.timeout = setTimeout(function () { A.validate(); }, A.wait); }, doOnBlur: function (A) { this.focused = false; this.validate(A); }, doOnFocus: function (A) { this.focused = true; this.removeMessageAndFieldClass(); }, getElementType: function () { switch (true) { case this.element.nodeName.toUpperCase() == 'TEXTAREA': return LiveValidation.TEXTAREA; case this.element.nodeName.toUpperCase() == 'INPUT' && this.element.type.toUpperCase() == 'TEXT': return LiveValidation.TEXT; case this.element.nodeName.toUpperCase() == 'INPUT' && this.element.type.toUpperCase() == 'PASSWORD': return LiveValidation.PASSWORD; case this.element.nodeName.toUpperCase() == 'INPUT' && this.element.type.toUpperCase() == 'CHECKBOX': return LiveValidation.CHECKBOX; case this.element.nodeName.toUpperCase() == 'INPUT' && this.element.type.toUpperCase() == 'FILE': return LiveValidation.FILE; case this.element.nodeName.toUpperCase() == 'SELECT': return LiveValidation.SELECT; case this.element.nodeName.toUpperCase() == 'INPUT': throw new Error( 'LiveValidation::getElementType - Cannot use LiveValidation on an ' + this.element.type + ' input!' ); default: throw new Error('LiveValidation::getElementType - Element must be an input, select, or textarea!'); } }, doValidations: function () { this.validationFailed = false; for (var C = 0, A = this.validations.length; C Number(C)) { Validate.fail(K); } break; } return true; }, Format: function (C, E) { var C = String(C); var E = E || {}; var A = E.failureMessage || 'Not valid!'; var B = E.pattern || /./; var D = E.negate || false; if (!D && !B.test(C)) { Validate.fail(A); } if (D && B.test(C)) { Validate.fail(A); } return true; }, Email: function (B, C) { var C = C || {}; var A = C.failureMessage || 'Must be a valid email address!'; Validate.Format(B, { failureMessage: A, pattern: /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i }); return true; }, Length: function (F, G) { var F = String(F); var G = G || {}; var E = G.minimum || G.minimum == 0 ? G.minimum : null; var H = G.maximum || G.maximum == 0 ? G.maximum : null; var C = G.is || G.is == 0 ? G.is : null; var A = G.wrongLengthMessage || 'Must be ' + C + ' characters long!'; var B = G.tooShortMessage || 'Must not be less than ' + E + ' characters long!'; var D = G.tooLongMessage || 'Must not be more than ' + H + ' characters long!'; switch (true) { case C !== null: if (F.length != Number(C)) { Validate.fail(A); } break; case E !== null && H !== null: Validate.Length(F, { tooShortMessage: B, minimum: E }); Validate.Length(F, { tooLongMessage: D, maximum: H }); break; case E !== null: if (F.length Number(H)) { Validate.fail(D); } break; default: throw new Error('Validate::Length - Length(s) to validate against must be provided!'); } return true; }, Inclusion: function (H, F) { var F = F || {}; var K = F.failureMessage || 'Must be included in the list!'; var G = F.caseSensitive === false ? false : true; if (F.allowNull && H == null) { return true; } if (!F.allowNull && H == null) { Validate.fail(K); } var D = F.within || []; if (!G) { var A = []; for (var C = 0, B = D.length; C var dom0 = document.querySelector('#form74 #inp_1'); var inp_1 = new LiveValidation(dom0, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_1.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_1.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); inp_1.add(Validate.Presence, { failureMessage: 'First Name is required' }); var dom1 = document.querySelector('#form74 #inp_2'); var inp_2 = new LiveValidation(dom1, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_2.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_2.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); inp_2.add(Validate.Presence, { failureMessage: 'Last Name is required' }); var dom2 = document.querySelector('#form74 #inp_3'); var inp_3 = new LiveValidation(dom2, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_3.add(Validate.Presence, { failureMessage: 'Email Address is required' }); inp_3.add(Validate.Format, { pattern: /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i, failureMessage: 'A valid email address is required' }); var dom3 = document.querySelector('#form74 #inp_18'); var inp_18 = new LiveValidation(dom3, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_18.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_18.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); inp_18.add(Validate.Presence, { failureMessage: 'Company Name is required' }); var dom4 = document.querySelector('#form74 #inp_10'); var inp_10 = new LiveValidation(dom4, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_10.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_10.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); inp_10.add(Validate.Presence, { failureMessage: 'This field is required' }); var dom6 = document.querySelector('#form74 #inp_11'); var inp_11 = new LiveValidation(dom6, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_11.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_11.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); inp_11.add(Validate.Presence, { failureMessage: 'This field is required' }); var dom7 = document.querySelector('#form74 #inp_12'); var inp_12 = new LiveValidation(dom7, { validMessage: '', onlyOnBlur: false, wait: 300 }); var dom8 = document.querySelector('#form74 #inp_13'); var inp_13 = new LiveValidation(dom8, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_13.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_13.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); var dom9 = document.querySelector('#form74 #inp_14'); var inp_14 = new LiveValidation(dom9, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_14.add(Validate.Presence, { failureMessage: 'Country is required' }); var dom10 = document.querySelector('#form74 #inp_15'); var inp_15 = new LiveValidation(dom10, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_15.add(Validate.Custom, { against: function (value) { return !value.match( /(telnet|ftp|https?):\/\/(?:[a-z0-9][a-z0-9-]{0,61}[a-z0-9]\.|[a-z0-9]\.)+[a-z]{2,63}/i); }, failureMessage: "Value must not contain any URL's" }); inp_15.add(Validate.Length, { tooShortMessage: 'Invalid length for field value', tooLongMessage: 'Invalid length for field value', minimum: 0, maximum: 35 }); var dom20 = document.querySelector('#form74 #inp_1535'); var inp_1535 = new LiveValidation(dom20, { validMessage: '', onlyOnBlur: false, wait: 300 }); inp_1535.add(Validate.Numericality, { tooLowMessage: 'Please choose between 1 - 10 copies', tooHighMessage: 'Please choose between 1 - 10 copies', minimum: 1, maximum: 10 }); function resetSubmitButton(e) { var submitButtons = e.target.form.getElementsByClassName('submit-button'); for (var i = 0; i

Need technical consultation?

Our team of engineers is ready to help you choose the right product or design a custom solution for your specific needs.

Používáme cookies ke zlepšení Vašeho zážitku. Technicky nezbytné cookies jsou vždy aktivní. Více informací