{"id":56,"date":"2024-01-29T05:48:18","date_gmt":"2024-01-29T05:48:18","guid":{"rendered":"https:\/\/valehouse.it\/?page_id=56"},"modified":"2024-03-25T20:27:48","modified_gmt":"2024-03-25T20:27:48","slug":"prenotazione","status":"publish","type":"page","link":"https:\/\/valehouse.it\/?page_id=56","title":{"rendered":"PRENOTAZIONE"},"content":{"rendered":"\t<pre style=\"display:none !important;\"><script type=\"text\/javascript\">\r\n\t function doValidate_1(form, validation_only)\r\n\t {\r\n\t\tvalidation_only = validation_only || false;\r\n        window['cff_enabling_form' ] = function(_form){\r\n            if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n            _form.validate().settings.ignore = '.ignore,.ignorepb';\r\n            _form.removeData('being-submitted');\r\n            _form.find('.submitbtn-disabled').removeClass('submitbtn-disabled');\r\n            _form.find('.cff-processing-form').remove();\r\n        };\r\n        window['cff_disabling_form'] = function(_form){\r\n            if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n            if(cff_form_disabled(_form)) return;\r\n            _form.find('.pbSubmit').addClass('submitbtn-disabled');\r\n            _form.data('being-submitted',1);\r\n            var d = document.createElement('div');\r\n            $dexQuery(d).addClass('cff-processing-form').appendTo(_form.find('#fbuilder'));\r\n        };\r\n        window['cff_form_disabled' ] = function(_form){\r\n            if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n            return ('undefined' != typeof _form.data('being-submitted'));\r\n        };\r\n\t\tvar form_identifier =  '_1';\r\n\t\tif(typeof cpcff_validation_rules == 'undefined') cpcff_validation_rules = {};\r\n\t\tif(typeof cpcff_validation_rules[form_identifier] == 'undefined') cpcff_validation_rules[form_identifier] = {};\r\n\t\tvar $dexQuery = (fbuilderjQuery) ? fbuilderjQuery : jQuery.noConflict(),\r\n\t\t\t_form = $dexQuery(\"#cp_calculatedfieldsf_pform\"+form_identifier),\r\n\t\t\tform_disabled = function(){cff_form_disabled(_form);},\r\n\t\t\tdisabling_form = function(){cff_disabling_form(_form);},\r\n\t\t\tenabling_form = function(){cff_enabling_form(_form);};\r\n\t\tif(form_disabled()) return false;\r\n\t\t_form.validate().settings.ignore = '.ignore';\r\n\t\tvar\tcpefb_error = !_form.validate().checkForm();\r\n\t\tvar\tvalidation_rules = cpcff_validation_rules[form_identifier],\r\n\t\t\tprocessing_form = function()\r\n\t\t\t{\r\n                \t\t\t\tfor(var rule in validation_rules)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!validation_rules[rule]) {\r\n\t\t\t\t\t\t$dexQuery(form).trigger('cff-form-validation', false);\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif ( validation_only ) {\r\n\t\t\t\t\t$dexQuery(form).trigger('cff-form-validation', true);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t_form.find(\"[name$='_date'][type='hidden']\").each(function(){\r\n\t\t\t\t\tvar v  \t = $dexQuery(this).val(),\r\n\t\t\t\t\t\tname = $dexQuery(this).attr( 'name' ).replace('_date', ''),\r\n\t\t\t\t\t\te \t = $dexQuery(\"[name='\"+name+\"']\");\r\n\t\t\t\t\t\tif( e.length && ! $dexQuery(\"[id='\"+name+\"_datepicker_container']\").length ){ e.val( String( e.val().replace( v, '' ) ).trim() ); }\r\n\t\t\t\t});\r\n\t\t\t\t_form.find(\"select option[vt]\").each(function(){\r\n                    var e = $dexQuery(this);\r\n                    e.attr('cff-val-bk', e.val()).val(e.attr(\"vt\"));\r\n\t\t\t\t});\r\n\t\t\t\t_form.find(\"input[vt]\").each(function(){\r\n                    var e = $dexQuery(this);\r\n                    e.attr('cff-val-bk', e.val()).val(e.attr(\"vt\"));\r\n\t\t\t\t});\r\n\t\t\t\t_form.find('.cpcff-recordset,.cff-exclude :input,[id^=\"form_structure_\"]')\r\n\t\t\t\t.add(_form.find( '.ignore' )).attr('cff-disabled', 1).prop('disabled', true);\r\n\t\t\t\tdisabling_form();\r\n\t\t\t\tif ( _form.attr( 'target' ) != undefined && NOT( IN( _form.attr( 'target' ).toLowerCase(), [ '_blank', '_self', '_top', '' ] ) ) ) {\r\n\t\t\t\t\t$dexQuery('[name=\"'+_form.prop( 'target' )+'\"]').one('load', function(){\r\n\t\t\t\t\t\t_form.find('[cff-val-bk]').each(function(){\r\n\t\t\t\t\t\t\tvar e = $dexQuery(this);\r\n\t\t\t\t\t\t\te.val(e.attr('cff-val-bk')).removeAttr('cff-val-bk');\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t_form.find('[cff-disabled]').prop('disabled', false).removeAttr('cff-disabled');\r\n\t\t\t\t\t\tif(!\/^(\\s*|_self|_top|_parent)$\/i.test(_form.prop('target'))) {\r\n\t\t\t\t\t\t\tenabling_form();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$dexQuery(document).trigger('cff-form-submitted', _form);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n                _form[ 0 ].submit();\r\n\t\t\t};\r\n\t\t_form.find('[name=\"cp_ref_page\"]').val(document.location.href);\r\n\t\tvalidation_rules['fields_validation_error'] = (cpefb_error==0);\r\n        \/* 1: Do not submit if the equations are being evaluated *\/\r\n        validation_rules['no_pending'] = (!(form_identifier in $dexQuery.fbuilder.calculator.processing_queue) || !$dexQuery.fbuilder.calculator.processing_queue[form_identifier]) && !$dexQuery.fbuilder.calculator.thereIsPending(form_identifier);\r\n\t\tif(!validation_rules['no_pending'])\r\n\t\t{\r\n\t\t\t$dexQuery(document).on('equationsQueueEmpty', function(evt, formId){\r\n\t\t\t\tif(formId == form_identifier)\r\n\t\t\t\t{\r\n\t\t\t\t\t$dexQuery(document).off('equationsQueueEmpty');\r\n\t\t\t\t\tvalidation_rules['no_pending']  = true;\r\n\t\t\t\t\tprocessing_form();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\t\/* End :1 *\/\r\n\t\tif (validation_rules['fields_validation_error'])\r\n\t\t{\r\n\t\t\t\t\tprocessing_form();\r\n\t\t\t\t}\r\n\t\telse\r\n\t\t{\r\n            _form.valid();\r\n            var page = $dexQuery('.cpefb_error:not(.message):not(.ignore):eq(0)').closest('.pbreak').attr('page')*1;\r\n            gotopage(page, _form);\r\n\t\t\t$dexQuery(form).trigger('cff-form-validation', false);\r\n\t\t\tenabling_form();\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\t<\/script><\/pre>\r\n\t<form name=\"cp_calculatedfieldsf_pform_1\" id=\"cp_calculatedfieldsf_pform_1\" action=\"https:\/\/valehouse.it\/?page_id=56\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return doValidate_1(this);\" class=\"cff-form \"  dir=\"ltr\">\r\n\t\t\t<input type=\"hidden\" name=\"cp_calculatedfieldsf_pform_psequence\" value=\"_1\" \/><input type=\"hidden\" name=\"cp_calculatedfieldsf_pform_process\" value=\"1\" \/><input type=\"hidden\" name=\"cp_calculatedfieldsf_id\" value=\"2\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"https:\/\/valehouse.it\" \/><pre style=\"display:none !important;\"><script type=\"text\/javascript\">form_structure_1=[[{\"form_identifier\":\"\",\"name\":\"fieldname6\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":0,\"ftype\":\"ftext\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"NOME\",\"autocomplete\":\"off\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"exclude\":false,\"readonly\":false,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname7\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":1,\"ftype\":\"ftext\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"COGNOME\",\"autocomplete\":\"off\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"exclude\":false,\"readonly\":false,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname10\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":2,\"ftype\":\"fnumber\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"CELLULARE\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"exclude\":false,\"readonly\":false,\"numberpad\":false,\"spinner\":false,\"size\":\"small\",\"prefix\":\"\",\"postfix\":\"\",\"thousandSeparator\":\"\",\"decimalSymbol\":\".\",\"min\":\"\",\"max\":\"\",\"step\":\"\",\"formatDynamically\":false,\"dformat\":\"digits\",\"formats\":[\"digits\",\"number\",\"percent\"],\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname11\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":3,\"ftype\":\"femail\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"EMAIL\",\"autocomplete\":\"off\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"exclude\":false,\"readonly\":false,\"size\":\"medium\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname1\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":4,\"ftype\":\"fdate\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"CHECK-IN\",\"predefined\":\"\",\"predefinedClick\":false,\"size\":\"medium\",\"required\":true,\"exclude\":false,\"readonly\":false,\"disableKeyboardOnMobile\":false,\"dformat\":\"dd\\\/mm\\\/yyyy\",\"dseparator\":\"\\\/\",\"tformat\":\"24\",\"showDropdown\":false,\"dropdownRange\":\"-10:+10\",\"minDate\":\"0\",\"maxDate\":\"\",\"invalidDates\":\"\",\"mondayFirstDay\":true,\"alwaysVisible\":false,\"minHour\":0,\"maxHour\":23,\"minMinute\":0,\"maxMinute\":59,\"stepHour\":1,\"stepMinute\":1,\"showDatepicker\":true,\"showTimepicker\":false,\"ariaHourLabel\":\"hours\",\"ariaMinuteLabel\":\"minutes\",\"ariaAMPMLabel\":\"am or pm\",\"currentDate\":0,\"defaultDate\":\"\",\"defaultTime\":\"\",\"working_dates\":[true,true,true,true,true,true,true],\"formats\":[\"mm\\\/dd\\\/yyyy\",\"dd\\\/mm\\\/yyyy\",\"yyyy\\\/mm\\\/dd\",\"yyyy\\\/dd\\\/mm\"],\"separators\":[\"\\\/\",\"-\",\".\"],\"errorMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname2\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":5,\"ftype\":\"fdate\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"CHECK-OUT\",\"predefined\":\"\",\"predefinedClick\":false,\"size\":\"medium\",\"required\":true,\"exclude\":false,\"readonly\":false,\"disableKeyboardOnMobile\":true,\"dformat\":\"dd\\\/mm\\\/yyyy\",\"dseparator\":\"\\\/\",\"tformat\":\"24\",\"showDropdown\":false,\"dropdownRange\":\"-10:+10\",\"minDate\":\"1\",\"maxDate\":\"\",\"invalidDates\":\"\",\"mondayFirstDay\":false,\"alwaysVisible\":false,\"minHour\":0,\"maxHour\":23,\"minMinute\":0,\"maxMinute\":59,\"stepHour\":1,\"stepMinute\":1,\"showDatepicker\":true,\"showTimepicker\":false,\"ariaHourLabel\":\"hours\",\"ariaMinuteLabel\":\"minutes\",\"ariaAMPMLabel\":\"am or pm\",\"currentDate\":0,\"defaultDate\":\"\",\"defaultTime\":\"\",\"working_dates\":[true,true,true,true,true,true,true],\"formats\":[\"mm\\\/dd\\\/yyyy\",\"dd\\\/mm\\\/yyyy\",\"yyyy\\\/mm\\\/dd\",\"yyyy\\\/dd\\\/mm\"],\"separators\":[\"\\\/\",\"-\",\".\"],\"errorMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname3\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":6,\"ftype\":\"fcheck\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"SERVIZI AGGIUNTIVI\",\"layout\":\"one_column\",\"required\":false,\"exclude\":false,\"readonly\":false,\"toSubmit\":\"text\",\"merge\":1,\"onoff\":0,\"max\":-1,\"min\":-1,\"maxError\":\"Check no more than {0} boxes\",\"minError\":\"Check at least {0} boxes\",\"showDep\":false,\"choices\":[\"POSTO AUTO 10\\u20ac\",\"NAVETTA PRIVATA 10\\u20ac\"],\"choiceSelected\":[false,false],\"choicesVal\":[\"10\",\"10\"],\"fBuild\":{},\"parent\":\"\",\"choicesDep\":[[],[]]},{\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"form_identifier\":\"\",\"name\":\"fieldname5\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":7,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"title\":\"TOTALE \",\"predefined\":\"\",\"required\":false,\"exclude\":false,\"size\":\"medium\",\"eq\":\"abs(fieldname2-fieldname1) * (fieldname3+100)\",\"min\":\"\",\"max\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\".\",\"groupingsymbol\":\"\",\"readonly\":true,\"currency\":false,\"noEvalIfManual\":false,\"formatDynamically\":false,\"dynamicEval\":true,\"hidefield\":false,\"validate\":false,\"fBuild\":{},\"parent\":\"\"}],{\"0\":{\"title\":\"MODULO DI PRENOTAZIONE\",\"description\":\"INSERISCI TUTTI I DATI PER IL CHECK-IN\",\"formlayout\":\"top_aligned\",\"formtemplate\":\"cp_cff_13\",\"titletag\":\"H2\",\"textalign\":\"center\",\"headertextcolor\":\"\",\"evalequations\":1,\"evalequations_delay\":0,\"evalequationsevent\":2,\"direction\":\"ltr\",\"loading_animation\":0,\"autocomplete\":1,\"persistence\":0,\"animate_form\":0,\"animation_effect\":\"fade\",\"customstyles\":\"\",\"request_cost\":\"fieldname6\"},\"formid\":\"cp_calculatedfieldsf_pform_1\",\"setCache\":false,\"cache\":false}];<\/script><\/pre>\r\n\t\t<div id=\"fbuilder\">\r\n\t\t\t\t\t\t<div id=\"fbuilder_1\">\r\n\t\t\t\t<div id=\"formheader_1\"><\/div>\r\n\t\t\t\t<div id=\"fieldlist_1\"><\/div>\r\n                <div class=\"clearer\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\" style=\"display:none;\">\r\n\t\t\t            \t\t\t<div class=\"fields\" id=\"field-c0\" style=\"display:none\">\r\n\t\t\t\t<label>Payment options<\/label>\r\n\t\t\t\t<div class=\"dfield\">\r\n\t\t\t\t \t\t\t\t <!--addons-payment-options-->\r\n    \t\t\t \t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"clearer\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<!--addons-payment-fields-->\r\n\t\t\t\t\t\t<!--add-ons-->\r\n\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"cp_subbtn_1\" class=\"cp_subbtn\" style=\"display:none;\">invia<\/div>\r\n\t\t\t\t\t\t<div class=\"clearer\"><\/div>\r\n\t\t<\/div>\r\n\t    <\/form>\r\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/valehouse.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":1,"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/valehouse.it\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions\/57"}],"wp:attachment":[{"href":"https:\/\/valehouse.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}