{"id":1045,"date":"2025-09-03T11:20:28","date_gmt":"2025-09-03T09:20:28","guid":{"rendered":"https:\/\/aeronordica.com\/?page_id=1045"},"modified":"2025-09-03T11:35:42","modified_gmt":"2025-09-03T09:35:42","slug":"search-flight","status":"publish","type":"page","link":"https:\/\/aeronordica.com\/en\/search-flight\/","title":{"rendered":"S\u00f6k &amp; Boka"},"content":{"rendered":"<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"an-layout-wrapper\">    <form action=\"\" method=\"get\" id=\"flight-search-form\" data-trp-original-action=\"\">\r\n        <div class=\"an-form-group an-form-group--trip-type\">\r\n             <label>Resa<\/label>\r\n            <div class=\"an-trip-type-toggle\">\r\n                <input type=\"radio\" id=\"trip_one_way\" name=\"trip_type\" value=\"one_way\"  checked='checked'>\r\n                <label for=\"trip_one_way\">Enkel<\/label>\r\n                <input type=\"radio\" id=\"trip_round_trip\" name=\"trip_type\" value=\"round_trip\" >\r\n                <label for=\"trip_round_trip\">Tur & Retur<\/label>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"an-form-group an-form-group--airport\">\r\n            <label for=\"departure_airport_id\">Avreseort<\/label>\r\n            <select name=\"departure_airport_id\" id=\"departure_airport_id\" class=\"an-searchable-select\" required>\r\n                <option value=\"\">V\u00e4lj...<\/option>\r\n                                    <option value=\"840\" >Bromma<\/option>\r\n                                    <option value=\"841\" >Halmstad<\/option>\r\n                                    <option value=\"1004\" >UME\u00c5<\/option>\r\n                            <\/select>\r\n        <\/div>\r\n\r\n        <div class=\"an-form-group an-form-group--airport\">\r\n            <label for=\"destination_airport_id\">Destination<\/label>\r\n            <select name=\"destination_airport_id\" id=\"destination_airport_id\" class=\"an-searchable-select\" required>\r\n                <option value=\"\">V\u00e4lj...<\/option>\r\n                                    <option value=\"840\" >Bromma<\/option>\r\n                                    <option value=\"841\" >Halmstad<\/option>\r\n                                    <option value=\"1004\" >UME\u00c5<\/option>\r\n                            <\/select>\r\n        <\/div>\r\n        \r\n        <div class=\"an-form-group an-form-group--date\">\r\n            <label for=\"flight_date\">Avresedatum<\/label>\r\n            <input type=\"date\" id=\"flight_date\" name=\"flight_date\" value=\"2026-11-03\" required>\r\n        <\/div>\r\n\r\n        <div class=\"an-form-group an-form-group--date\" id=\"an-return-date-wrapper\" style=\"display: none;\">\r\n            <label for=\"return_date\">Returdatum<\/label>\r\n            <input type=\"date\" id=\"return_date\" name=\"return_date\" value=\"\">\r\n        <\/div>\r\n\r\n        <div class=\"an-form-group an-form-group--submit\">\r\n            <input type=\"submit\" value=\"S\u00f6k\" class=\"button\">\r\n        <\/div>\r\n    <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\r\n\r\n    <script>\r\n        jQuery(document).ready(function($) {\r\n            $('.an-searchable-select').select2();\r\n            $('input[name=\"trip_type\"]').on('change', function() {\r\n                if ($(this).val() === 'round_trip') {\r\n                    $('#an-return-date-wrapper').slideDown();\r\n                    $('#return_date').prop('required', true);\r\n                } else {\r\n                    $('#an-return-date-wrapper').slideUp();\r\n                    $('#return_date').prop('required', false);\r\n                }\r\n            }).trigger('change');\r\n        });\r\n    <\/script>\r\n    <hr>\r\n    <\/div>\n\n\n\n<div style=\"height:182px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1045","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/pages\/1045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":8,"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/pages\/1045\/revisions"}],"predecessor-version":[{"id":1057,"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/pages\/1045\/revisions\/1057"}],"wp:attachment":[{"href":"https:\/\/aeronordica.com\/en\/wp-json\/wp\/v2\/media?parent=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}