{"id":1141,"date":"2020-11-28T21:51:59","date_gmt":"2020-11-28T21:51:59","guid":{"rendered":"https:\/\/gprecruitment.eu\/application-form\/"},"modified":"2026-06-17T11:00:11","modified_gmt":"2026-06-17T11:00:11","slug":"application-form","status":"publish","type":"page","link":"https:\/\/gprecruitment.eu\/en\/application-form\/","title":{"rendered":"Application form"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1141\" class=\"elementor elementor-1141 elementor-272\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-59e592e application-form elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"59e592e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f217929\" data-id=\"f217929\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-038d512 application-form-title elementor-widget elementor-widget-heading\" data-id=\"038d512\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">FILL IN<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2914330 elementor-button-align-end vacancy-application-form elementor-widget elementor-widget-form\" data-id=\"2914330\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;step_next_label&quot;:&quot;Next&quot;,&quot;step_previous_label&quot;:&quot;Previous&quot;,&quot;button_width&quot;:&quot;100&quot;,&quot;step_type&quot;:&quot;number_text&quot;,&quot;step_icon_shape&quot;:&quot;circle&quot;}\" data-widget_type=\"form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<form class=\"elementor-form\" method=\"post\" id=\"pieteikuma_forma\" name=\"Application form\" aria-label=\"Application form\">\n\t\t\t<input type=\"hidden\" name=\"post_id\" value=\"1141\"\/>\n\t\t\t<input type=\"hidden\" name=\"form_id\" value=\"2914330\"\/>\n\t\t\t<input type=\"hidden\" name=\"referer_title\" value=\"Application form - GP Recruitment\" \/>\n\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"queried_id\" value=\"1141\"\/>\n\t\t\t\n\t\t\t<div class=\"elementor-form-fields-wrapper elementor-labels-above\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-first_name elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-first_name\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tNAME\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[first_name]\" id=\"form-field-first_name\" class=\"elementor-field elementor-size-xs  elementor-field-textual\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-phone_number elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-phone_number\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tPHONE NUMBER\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[phone_number]\" id=\"form-field-phone_number\" class=\"elementor-field elementor-size-xs  elementor-field-textual\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-english_level elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-english_level\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tENGLISH PROFICIENCY LEVEL\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"eicon-caret-down\"><\/i>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[english_level]\" id=\"form-field-english_level\" class=\"elementor-field-textual elementor-size-xs\" required=\"required\">\n\t\t\t\t\t\t\t\t\t<option value=\"none\">Poor<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"basic\">Basics<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"average\">Average<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"good\">Good<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"excellent\">Excellent<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-last_name elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-last_name\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tSURNAME\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[last_name]\" id=\"form-field-last_name\" class=\"elementor-field elementor-size-xs  elementor-field-textual\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-email elementor-field-group elementor-column elementor-field-group-email elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-email\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tE-MAIL\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"email\" name=\"form_fields[email]\" id=\"form-field-email\" class=\"elementor-field elementor-size-xs  elementor-field-textual\" required=\"required\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-date elementor-field-group elementor-column elementor-field-group-birth_date elementor-col-33 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-birth_date\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tBIRTHDAY\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\n\t\t<input type=\"date\" name=\"form_fields[birth_date]\" id=\"form-field-birth_date\" class=\"elementor-field elementor-size-xs  elementor-field-textual elementor-date-field\" required=\"required\" pattern=\"[0-9]{4}-[0-9]{2}-[0-9]{2}\" min=\"1960-01-01\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-text elementor-field-group elementor-column elementor-field-group-city elementor-col-33\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-city\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tCITY\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input size=\"1\" type=\"text\" name=\"form_fields[city]\" id=\"form-field-city\" class=\"elementor-field elementor-size-xs  elementor-field-textual\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-select elementor-field-group elementor-column elementor-field-group-country_id elementor-col-33\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-country_id\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tCOUNTRY\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field elementor-select-wrapper remove-before \">\n\t\t\t<div class=\"select-caret-down-wrapper\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"eicon-caret-down\"><\/i>\t\t\t<\/div>\n\t\t\t<select name=\"form_fields[country_id]\" id=\"form-field-country_id\" class=\"elementor-field-textual elementor-size-xs\">\n\t\t\t\t\t\t\t\t\t<option value=\"1\">Latvia<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2\">Romania<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"3\">Great Britain<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"4\">Lithuania<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"5\">Norway<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"6\">Netherlands<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"7\">Canada<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"8\">Ireland<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"9\">Germany<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"10\">Belgium<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"11\">Estonia<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"13\">Island<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"14\">Bulgaria<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"15\">Denmark<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"16\">Poland<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"17\">Sweden<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-acceptance elementor-field-group elementor-column elementor-field-group-privacy_policy elementor-col-60 elementor-field-required elementor-mark-required\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-privacy_policy\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tI AGREE TO GIVE MY PERSONAL INFORMATION\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-subgroup\">\n\t\t\t<span class=\"elementor-field-option\">\n\t\t\t\t<input type=\"checkbox\" name=\"form_fields[privacy_policy]\" id=\"form-field-privacy_policy\" class=\"elementor-field elementor-size-xs  elementor-acceptance-field\" required=\"required\">\n\t\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-type-acceptance elementor-field-group elementor-column elementor-field-group-newsletter_subscription elementor-col-60\">\n\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"form-field-newsletter_subscription\" class=\"elementor-field-label\">\n\t\t\t\t\t\t\t\tI WANT TO GET NEWS IN MY E-MAIL\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-subgroup\">\n\t\t\t<span class=\"elementor-field-option\">\n\t\t\t\t<input type=\"checkbox\" name=\"form_fields[newsletter_subscription]\" id=\"form-field-newsletter_subscription\" class=\"elementor-field elementor-size-xs  elementor-acceptance-field\">\n\t\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"elementor-field-group elementor-column elementor-field-type-submit elementor-col-100 e-form__buttons\">\n\t\t\t\t\t<button class=\"elementor-button elementor-size-sm\" type=\"submit\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">APPLY<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/form>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c35c0ac application-form-rules elementor-widget elementor-widget-text-editor\" data-id=\"c35c0ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>Application conditions<\/strong><\/p>\n<p>GP Recruitment SIA R.N. 40003707276 (further GPR) selects personnel for foreign employers.<\/p>\n<ol>\n<li>The information you submit will only be used for the purpose of GPR contacting you about job offers and current job vacancies.<\/li>\n<li>The data provided in your application will not be passed on to third parties, as this Application is not a CV.<\/li>\n<li>You have the right at any time to request the deletion, supplementation, and correction of your submitted data.<\/li>\n<li>The data you submit will be stored and processed in accordance with the provisions of the EU General Data Protection Regulation.<\/li>\n<li>To make your job search smoother, GPR can also send other job offers to the e-mail or phone number you provide. If you do not want to receive such job offers in the future, you will have the opportunity to refuse them.<\/li>\n<\/ol>\n<p><a class=\"black-link with-orange-hover small\" href=\"https:\/\/gprecruitment.eu\/en\/privatuma-politika\/\">Our Privacy Policy.<\/a><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-57bdd7b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"57bdd7b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-d82704d\" data-id=\"d82704d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ed1a0ec elementor-widget elementor-widget-text-editor\" data-id=\"ed1a0ec\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><span style=\"color: #333333;\"><a style=\"color: #333333;\" href=\"https:\/\/gprecruitment.eu\/en\/?page_id=1391\">CURRENT VACANCIES<\/a><\/span><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-db1d359\" data-id=\"db1d359\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6b76ce6 application-form-back-arrow elementor-widget elementor-widget-image\" data-id=\"6b76ce6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"109\" height=\"19\" src=\"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png\" class=\"attachment-large size-large wp-image-210\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8f07576 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8f07576\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6931a37\" data-id=\"6931a37\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8c39c8d elementor-widget elementor-widget-html\" data-id=\"8c39c8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n\/* GPR Vacancies: Application form *\/\n@media only screen and (max-width: 900px) {\n\t.application-form {\n\t\tpadding: 0 10px !important;\n\t}\n\t.application-form .application-form-rules {\n\t\tpadding: 0 10px !important;\n\t}\n}\n@media only screen and (max-width: 767px) {\n\t.application-form-back-arrow {\n\t\ttext-align: center !important;\n\t}\n}\n<\/style>\n<div id=\"gpr-form-errors\" class=\"gpr-form-alert gpr-form-alert--error\" role=\"alert\" aria-live=\"polite\"><\/div>\n<div id=\"gpr-form-success\" class=\"gpr-form-alert gpr-form-alert--success\" role=\"status\" aria-live=\"polite\"><\/div>\n\n<script>\n(function ($) {\n\t'use strict';\n\n\tvar locale = 'en';\n\tvar vacancyIdRaw = '0';\n\tvar registerUrl = 'https:\/\/gprecruitment.eu\/wp-admin\/admin-ajax.php?action=gpr_candidate_register&nonce=424369a3f3';\n\n\tvar apiFieldMap = {\n\t\tphoneNumber: '#form-field-phone_number',\n\t\tphone_number: '#form-field-phone_number',\n\t\tfirstName: '#form-field-first_name',\n\t\tfirst_name: '#form-field-first_name',\n\t\tlastName: '#form-field-last_name',\n\t\tlast_name: '#form-field-last_name',\n\t\temail: '#form-field-email',\n\t\tdateOfBirth: '#form-field-birth_date',\n\t\tdate_of_birth: '#form-field-birth_date',\n\t\tbirth_date: '#form-field-birth_date',\n\t\tcity: '#form-field-city',\n\t\tcountryId: '#form-field-country_id',\n\t\tcountry_id: '#form-field-country_id',\n\t\tenglishLevel: '#form-field-english_level',\n\t\tenglish_level: '#form-field-english_level',\n\t\tvacancyId: null,\n\t\tvacancy_id: null\n\t};\n\n\tfunction normalizePhoneNumber(raw) {\n\t\treturn String(raw || '').trim().replace(\/[\\s\\-()]\/g, '');\n\t}\n\n\tfunction hasCountryCode(phone) {\n\t\treturn \/^\\+[1-9]\\d{6,14}$\/.test(phone);\n\t}\n\n\tfunction clearFormFeedback() {\n\t\t$('#gpr-form-errors').hide().empty();\n\t\t$('#gpr-form-success').hide().empty();\n\t\t$('.gpr-field-error').removeClass('gpr-field-error');\n\t\t$('.gpr-field-error-msg').remove();\n\t}\n\n\tfunction showFormErrors(messages) {\n\t\tvar $box = $('#gpr-form-errors');\n\t\tvar list = Array.isArray(messages) ? messages : [messages];\n\t\tvar unique = [];\n\n\t\tlist.forEach(function (message) {\n\t\t\tif (message && unique.indexOf(message) === -1) {\n\t\t\t\tunique.push(message);\n\t\t\t}\n\t\t});\n\n\t\tif (!unique.length) {\n\t\t\treturn;\n\t\t}\n\n\t\t$box.empty();\n\t\tunique.forEach(function (message) {\n\t\t\t$box.append($('<p><\/p>').text(message));\n\t\t});\n\n\t\t$('#gpr-form-success').hide();\n\t\t$box.show();\n\n\t\tif ($box[0]) {\n\t\t\t$box[0].scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n\t\t}\n\t}\n\n\tfunction showFormSuccess(message) {\n\t\tclearFormFeedback();\n\t\t$('#gpr-form-success').text(message).show();\n\t\tif ($('#gpr-form-success')[0]) {\n\t\t\t$('#gpr-form-success')[0].scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n\t\t}\n\t}\n\n\tfunction showFieldError(fieldKey, message) {\n\t\tvar selector = apiFieldMap[fieldKey];\n\t\tif (!selector) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar $field = $(selector);\n\t\tif (!$field.length) {\n\t\t\treturn;\n\t\t}\n\n\t\t$field.addClass('gpr-field-error');\n\t\t$field.closest('.elementor-field-group')\n\t\t\t.find('.gpr-field-error-msg')\n\t\t\t.remove()\n\t\t\t.end()\n\t\t\t.append($('<div class=\"gpr-field-error-msg\"><\/div>').text(message));\n\t}\n\n\tfunction parseApiErrors(payload) {\n\t\tvar messages = [];\n\n\t\tif (!payload) {\n\t\t\treturn ['Registration failed. Please check your details and try again.'];\n\t\t}\n\n\t\tif (Array.isArray(payload.errors) && payload.errors.length) {\n\t\t\tpayload.errors.forEach(function (item) {\n\t\t\t\tvar text = String(item);\n\t\t\t\tvar match = text.match(\/^([^:]+):\\s*(.+)$\/);\n\n\t\t\t\tif (match) {\n\t\t\t\t\tvar fieldKey = match[1].trim();\n\t\t\t\t\tvar fieldMessage = match[2].trim();\n\t\t\t\t\tshowFieldError(fieldKey, fieldMessage);\n\t\t\t\t\tmessages.push(fieldMessage);\n\t\t\t\t} else {\n\t\t\t\t\tmessages.push(text);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (payload.message) {\n\t\t\tmessages.push(String(payload.message));\n\t\t} else if (payload.error) {\n\t\t\tmessages.push(String(payload.error));\n\t\t}\n\n\t\tif (!messages.length) {\n\t\t\tmessages.push('Registration failed. Please check your details and try again.');\n\t\t}\n\n\t\treturn messages;\n\t}\n\n\tfunction underAgeValidate(birthday) {\n\t\tvar optimizedBirthday = String(birthday).replace(\/-\/g, '\/');\n\t\tvar myBirthday = new Date(optimizedBirthday);\n\t\tvar currentDate = new Date().toJSON().slice(0, 10) + ' 01:00:00';\n\t\tvar myAge = ~~((Date.now(currentDate) - myBirthday) \/ 31557600000);\n\n\t\treturn myAge >= 18;\n\t}\n\n\tfunction buildPayload() {\n\t\tvar vacancyId = vacancyIdRaw ? parseInt(vacancyIdRaw, 10) : null;\n\t\tvar data = {\n\t\t\tfirst_name: $('#form-field-first_name').val(),\n\t\t\tlast_name: $('#form-field-last_name').val(),\n\t\t\tphone_number: normalizePhoneNumber($('#form-field-phone_number').val()),\n\t\t\tenglish_level: $('#form-field-english_level').val(),\n\t\t\temail: $('#form-field-email').val(),\n\t\t\tdate_of_birth: $('#form-field-birth_date').val(),\n\t\t\tcity: $('#form-field-city').val(),\n\t\t\tcountry_id: $('#form-field-country_id').val() ? parseInt($('#form-field-country_id').val(), 10) : null,\n\t\t\tvacancy_id: vacancyId && !isNaN(vacancyId) ? vacancyId : null,\n\t\t\tlocale: locale || null\n\t\t};\n\n\t\tObject.keys(data).forEach(function (key) {\n\t\t\tif (data[key] === null || data[key] === '' || data[key] === undefined) {\n\t\t\t\tdelete data[key];\n\t\t\t}\n\t\t});\n\n\t\treturn data;\n\t}\n\n\tfunction validateClient(data) {\n\t\tvar errors = [];\n\n\t\tif (!data.phone_number) {\n\t\t\tshowFieldError('phone_number', 'Phone number is required.');\n\t\t\terrors.push('Phone number is required.');\n\t\t} else if (!data.phone_number.startsWith('+')) {\n\t\t\tshowFieldError('phone_number', 'Please include country code starting with +, for example +48221234567.');\n\t\t\terrors.push('Please include country code starting with +.');\n\t\t} else if (!hasCountryCode(data.phone_number)) {\n\t\t\tshowFieldError('phone_number', 'Please enter a valid phone number with country code, for example +48221234567.');\n\t\t\terrors.push('Please enter a valid phone number with country code.');\n\t\t}\n\n\t\treturn errors;\n\t}\n\n\t$(document).ready(function () {\n\t\tvar $form = $('#pieteikuma_forma');\n\n\t\tif (!$form.length) {\n\t\t\treturn;\n\t\t}\n\n\t\t$form.on('submit', function (event) {\n\t\t\tevent.preventDefault();\n\t\t\tclearFormFeedback();\n\n\t\t\tvar birthDate = $('#form-field-birth_date').val();\n\t\t\tvar isAdult = birthDate ? underAgeValidate(birthDate) : false;\n\n\t\t\tif (!isAdult) {\n\t\t\t\tshowFormErrors(['You must be at least 18 years old to register.']);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar data = buildPayload();\n\t\t\tvar clientErrors = validateClient(data);\n\n\t\t\tif (clientErrors.length) {\n\t\t\t\tshowFormErrors(clientErrors);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar $submit = $form.find('[type=\"submit\"]');\n\t\t\t$submit.prop('disabled', true);\n\n\t\t\t$.ajax({\n\t\t\t\ttype: 'POST',\n\t\t\t\turl: registerUrl,\n\t\t\t\tcontentType: 'application\/json',\n\t\t\t\tdata: JSON.stringify(data),\n\t\t\t\tdataType: 'json'\n\t\t\t})\n\t\t\t\t.done(function (response) {\n\t\t\t\t\tshowFormSuccess('Application submitted successfully. Thank you!');\n\t\t\t\t\t$form[0].reset();\n\t\t\t\t})\n\t\t\t\t.fail(function (xhr) {\n\t\t\t\t\tvar payload = null;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpayload = xhr.responseJSON || JSON.parse(xhr.responseText);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tpayload = null;\n\t\t\t\t\t}\n\n\t\t\t\t\tshowFormErrors(parseApiErrors(payload));\n\t\t\t\t})\n\t\t\t\t.always(function () {\n\t\t\t\t\t$submit.prop('disabled', false);\n\t\t\t\t});\n\t\t});\n\t});\n})(jQuery);\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>FILL IN Application conditions GP Recruitment SIA R.N. 40003707276 (further GPR) selects personnel for foreign employers. The information you submit will only be used for the purpose of GPR contacting you about job offers and current job vacancies. The data provided in your application will not be passed on to third parties, as this Application [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1141","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Application form - GP Recruitment<\/title>\n<meta name=\"robots\" content=\"noindex, nofollow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Application form - GP Recruitment\" \/>\n<meta property=\"og:description\" content=\"FILL IN Application conditions GP Recruitment SIA R.N. 40003707276 (further GPR) selects personnel for foreign employers. The information you submit will only be used for the purpose of GPR contacting you about job offers and current job vacancies. The data provided in your application will not be passed on to third parties, as this Application [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gprecruitment.eu\/en\/application-form\/\" \/>\n<meta property=\"og:site_name\" content=\"GP Recruitment\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-17T11:00:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"109\" \/>\n\t<meta property=\"og:image:height\" content=\"19\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/\",\"url\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/\",\"name\":\"Application form - GP Recruitment\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gprecruitment.eu\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/bulta-1.png\",\"datePublished\":\"2020-11-28T21:51:59+00:00\",\"dateModified\":\"2026-06-17T11:00:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gprecruitment.eu\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/bulta-1.png\",\"contentUrl\":\"https:\\\/\\\/gprecruitment.eu\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/bulta-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/application-form\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gprecruitment.eu\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Application form\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#website\",\"url\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/\",\"name\":\"GP Recruitment\",\"description\":\"Find job abroad quickly\",\"publisher\":{\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#organization\",\"name\":\"GP Recruitment\",\"url\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gprecruitment.eu\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Logo_gpr.png\",\"contentUrl\":\"https:\\\/\\\/gprecruitment.eu\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Logo_gpr.png\",\"width\":171,\"height\":83,\"caption\":\"GP Recruitment\"},\"image\":{\"@id\":\"https:\\\/\\\/gpr.lv\\\/bg\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Application form - GP Recruitment","robots":{"index":"noindex","follow":"nofollow"},"og_locale":"en_US","og_type":"article","og_title":"Application form - GP Recruitment","og_description":"FILL IN Application conditions GP Recruitment SIA R.N. 40003707276 (further GPR) selects personnel for foreign employers. The information you submit will only be used for the purpose of GPR contacting you about job offers and current job vacancies. The data provided in your application will not be passed on to third parties, as this Application [&hellip;]","og_url":"https:\/\/gprecruitment.eu\/en\/application-form\/","og_site_name":"GP Recruitment","article_modified_time":"2026-06-17T11:00:11+00:00","og_image":[{"width":109,"height":19,"url":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gprecruitment.eu\/en\/application-form\/","url":"https:\/\/gprecruitment.eu\/en\/application-form\/","name":"Application form - GP Recruitment","isPartOf":{"@id":"https:\/\/gpr.lv\/bg\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gprecruitment.eu\/en\/application-form\/#primaryimage"},"image":{"@id":"https:\/\/gprecruitment.eu\/en\/application-form\/#primaryimage"},"thumbnailUrl":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png","datePublished":"2020-11-28T21:51:59+00:00","dateModified":"2026-06-17T11:00:11+00:00","breadcrumb":{"@id":"https:\/\/gprecruitment.eu\/en\/application-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gprecruitment.eu\/en\/application-form\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gprecruitment.eu\/en\/application-form\/#primaryimage","url":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png","contentUrl":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/bulta-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/gprecruitment.eu\/en\/application-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gprecruitment.eu\/en\/"},{"@type":"ListItem","position":2,"name":"Application form"}]},{"@type":"WebSite","@id":"https:\/\/gpr.lv\/bg\/#website","url":"https:\/\/gpr.lv\/bg\/","name":"GP Recruitment","description":"Find job abroad quickly","publisher":{"@id":"https:\/\/gpr.lv\/bg\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gpr.lv\/bg\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gpr.lv\/bg\/#organization","name":"GP Recruitment","url":"https:\/\/gpr.lv\/bg\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gpr.lv\/bg\/#\/schema\/logo\/image\/","url":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/Logo_gpr.png","contentUrl":"https:\/\/gprecruitment.eu\/wp-content\/uploads\/2020\/09\/Logo_gpr.png","width":171,"height":83,"caption":"GP Recruitment"},"image":{"@id":"https:\/\/gpr.lv\/bg\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/pages\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":3,"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/pages\/1141\/revisions"}],"predecessor-version":[{"id":5949,"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/pages\/1141\/revisions\/5949"}],"wp:attachment":[{"href":"https:\/\/gprecruitment.eu\/en\/wp-json\/wp\/v2\/media?parent=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}