{"id":166,"date":"2018-07-15T23:09:25","date_gmt":"2018-07-15T14:09:25","guid":{"rendered":"https:\/\/iwamizu.jp\/?page_id=166"},"modified":"2018-12-11T23:55:46","modified_gmt":"2018-12-11T14:55:46","slug":"contact2","status":"publish","type":"page","link":"https:\/\/iwamizu.jp\/?page_id=166","title":{"rendered":"\u53d6\u6750\u30fb\u30d7\u30ec\u30b9\u3001\u5546\u8ac7\u306b\u95a2\u3059\u308b\u304a\u554f\u3044\u5408\u308f\u305b"},"content":{"rendered":"<p>\u3053\u306e\u30d5\u30a9\u30fc\u30e0\u306f\u3001\u6cd5\u4eba\u306e\u304a\u5ba2\u69d8\u5411\u3051\u304a\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002<br \/>\n\u53d6\u6750\u30fb\u30d7\u30ec\u30b9\u3001\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u306b\u95a2\u3059\u308b\u3054\u76f8\u8ac7\u3001\u307e\u3068\u307e\u3063\u305f\u3054\u5546\u8ac7\u306a\u3069\u3001\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u500b\u4eba\u306e\u304a\u5ba2\u69d8\u306e\u3054\u8cfc\u5165\u5546\u54c1\u30fb\u3054\u6ce8\u6587\u306b\u95a2\u3059\u308b\u304a\u554f\u3044\u5408\u308f\u305b\u306f\u3001\u5404\u5e97\u8217\u306e\u7a93\u53e3\u3088\u308a\u304a\u9858\u3044\u3057\u307e\u3059\u3002<br \/>\n\uff08\u5f0a\u793e\u4ee3\u8868\u756a\u53f7\u3078\u3054\u9023\u7d61\u3092\u3044\u305f\u3060\u3044\u3066\u3082\u3001\u3054\u56de\u7b54\u51fa\u6765\u304b\u306d\u307e\u3059\u306e\u3067\u3054\u4e86\u627f\u4e0b\u3055\u3044\uff09<\/p>\n\r\n  <style>\r\n    \r\n    .tcd-submit-button{\r\n      display:inline-block;\r\n      width:auto;\r\n      font-weight:700;\r\n      text-align:center;\r\n      vertical-align:middle;\r\n      -webkit-transition:all .25s ease-in-out;\r\n      -moz-transition:all .25s ease-in-out;\r\n      -o-transition:all .25s ease-in-out;\r\n      -ms-transition:all .25s ease-in-out;\r\n      transition:all .25s ease-in-out;\r\n\r\n              width:300px; max-width:100%; padding:.9em 1.3em .8em; font-size:150%;     \r\n      \r\n      background-color:#3FA5F5;            border-radius:0px;    }\r\n    .tcd-submit-button:hover{\r\n      background-color:#2C72AB;    }\r\n\r\n    .workflow_left_td{\r\n      background-color:##ffffff!important;    }\r\n\r\n    .workflow_right_td{\r\n          }\r\n\r\n    .workflow_top_th{\r\n      background-color:#3FA5F5!important;    }    \r\n  <\/style>\r\n  <script type=\"text\/javascript\">\r\n      var app = angular.module('app129812', [])\r\n      app.controller('MainCtrl129812', function($scope, $http, $httpParamSerializerJQLike) {\r\n        $scope.data = {\"name\":\"\\u6cd5\\u4eba\\u69d8\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u30d5\\u30a9\\u30fc\\u30e0\",\"title\":\"\\u6cd5\\u4eba\\u69d8\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u30d5\\u30a9\\u30fc\\u30e0\",\"col1\":\"3FA5F5\",\"col2\":\"#ffffff\",\"type\":\"form\",\"tablewidth\":\"100%\",\"colwidth\":\"30%\",\"border\":true,\"steps\":[{\"label1\":\"\\u5a92\\u4f53\\u540d(\\u756a\\u7d44\\u540d)\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u8cb4\\u793e\\u540d\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u304a\\u540d\\u524d\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30d5\\u30ea\\u30ac\\u30ca\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u304a\\u96fb\\u8a71\\u756a\\u53f7\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30e1\\u30fc\\u30eb\\u30a2\\u30c9\\u30ec\\u30b9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"email\",\"options\":null},{\"label1\":\"\\u30e1\\u30fc\\u30eb\\u30a2\\u30c9\\u30ec\\u30b9\\uff08\\u78ba\\u8a8d\\uff09\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"email\",\"options\":null},{\"label1\":\"\\u304a\\u554f\\u5408\\u305b\\u5185\\u5bb9\\u9805\\u76ee\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"radio\",\"options\":\"\\u53d6\\u6750\\u306b\\u3064\\u3044\\u3066\\norca\\u306b\\u3064\\u3044\\u3066\\n\\u305d\\u306e\\u4ed6\"},{\"label1\":\"\\u304a\\u554f\\u5408\\u305b\\u5185\\u5bb9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"textarea\",\"options\":null}],\"columnpadding\":\"10\",\"layoutstyle\":null,\"column1\":null,\"column1head\":null,\"column1img\":null,\"column2\":null,\"column2head\":null,\"column2img\":null,\"column3\":null,\"column3img\":null,\"column4\":null,\"column4img\":null,\"textcol2\":\"333333\",\"submit\":\"\\u78ba\\u8a8d\\u753b\\u9762\\u3078\\u9032\\u3080\",\"submitcol\":\"3FA5F5\",\"submithovercol\":\"2C72AB\",\"submitborderradius\":0,\"submitsize\":\"m\",\"submitalign\":\"center\",\"completed\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u9802\\u304d\\u3042\\u308a\\u304c\\u3068\\u3046\\u3054\\u3056\\u3044\\u307e\\u3059\\u3002\\u30d5\\u30a9\\u30fc\\u30e0\\u306f\\u7121\\u4e8b\\u306b\\u9001\\u4fe1\\u3055\\u308c\\u307e\\u3057\\u305f\\u3002\",\"mailto\":\"info2@iwamizu.jp\",\"mailsubj\":\"\\u6cd5\\u4eba\\u69d8\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\",\"mailnotif\":true,\"mailcustsendermail\":\"sendonly@iwamizu.jp\",\"mailcustsender\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30a4\\u30ef\\u30df\\u30ba\",\"mailcustsubj\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u627f\\u308a\\u307e\\u3057\\u305f\",\"mailcustcontent\":\"\\u306f\\u3058\\u3081\\u307e\\u3057\\u3066\\u3002\\u682a\\u5f0f\\u4f1a\\u793e\\u30a4\\u30ef\\u30df\\u30ba\\u3067\\u3059\\u3002\\n\\n\\u3053\\u306e\\u5ea6\\u306f\\u3001\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u9802\\u304d\\u8aa0\\u306b\\u3042\\u308a\\u304c\\u3068\\u3046\\u3054\\u3056\\u3044\\u307e\\u3059\\u3002\\n2\\u55b6\\u696d\\u65e5\\u4ee5\\u5185\\u306b\\u56de\\u7b54\\u3055\\u305b\\u3066\\u9802\\u304d\\u307e\\u3059\\u306e\\u3067\\u3001\\u3057\\u3070\\u3089\\u304f\\u304a\\u5f85\\u3061\\u4e0b\\u3055\\u3044\\u307e\\u305b\\u3002\\n\\n2\\u55b6\\u696d\\u65e5\\u7d4c\\u904e\\u3057\\u3066\\u3082\\u9023\\u7d61\\u304c\\u306a\\u3044\\u5834\\u5408\\u306f\\u3001\\u8ff7\\u60d1\\u30e1\\u30fc\\u30eb\\u30d5\\u30a9\\u30eb\\u30c0\\u30fc\\u3092\\u3054\\u78ba\\u8a8d\\u9802\\u3044\\u305f\\u5f8c\\u3001\\n\\u518d\\u5ea6\\u30e1\\u30fc\\u30eb\\u306e\\u53d7\\u4fe1\\u8a2d\\u5b9a\\u3092\\u884c\\u3063\\u3066\\u9802\\u304d\\u3001\\u518d\\u5ea6\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u9802\\u3051\\u308c\\u3070\\u5e78\\u3044\\u3067\\u3059\\u3002\\n\\n\\u3053\\u306e\\u5ea6\\u306f\\u304a\\u554f\\u5408\\u305b\\u9802\\u304d\\u307e\\u3057\\u3066\\u8aa0\\u306b\\u3042\\u308a\\u304c\\u3068\\u3046\\u3054\\u3056\\u3044\\u307e\\u3057\\u305f\\u3002\",\"id\":\"9\",\"mail\":null};\r\n        $scope.data.steps.forEach(function(step, i){\r\n          if( $scope.data.steps[i].options ){\r\n            $scope.data.steps[i].options = step.options.split(\"\\n\")\r\n          }\r\n        })\r\n        $scope.confirmForm = function(){\r\n          $scope.confirm = true\r\n        }\r\n        $scope.sendForm = function(){\r\n          var str = \"\";\r\n          var mail = \"\";\r\n          $scope.data.steps.forEach(function(row){\r\n            str = str + row.label1 + ': ' + row.answer\r\n            str = str + '\\r\\n----------\\r\\n'\r\n            if( row.type == 'email' ){\r\n              mail = row.answer\r\n            }\r\n          })\r\n          var obj = { action: \"tcd_submit_form\", data: str, steps: angular.toJson($scope.data.steps), mail:mail, id: 9 }\r\n          $http({\r\n            url: \"https:\/\/iwamizu.jp\/wp-admin\/admin-ajax.php\",\r\n            method: \"POST\",\r\n            data: obj,\r\n            headers: { 'Content-Type' : 'application\/x-www-form-urlencoded' },\r\n            transformRequest: $httpParamSerializerJQLike\r\n          }).then(function(res){\r\n                          $scope.completed = true\r\n                      })\r\n        }\r\n      })\r\n  <\/script>\r\n  <div ng-app=\"app129812\" ng-controller=\"MainCtrl129812\">\r\n\r\n    <h2 class=\"text-center\" ng-show=\"completed\">\r\n      \u304a\u554f\u3044\u5408\u308f\u305b\u9802\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u306f\u7121\u4e8b\u306b\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f\u3002    <\/h2>\r\n\r\n    <form ng-submit=\"confirmForm()\" ng-hide=\"completed\">\r\n      <table class=\"workflow_form table table-bordered tcd-workflow wf-form\" style=\"table-layout:auto; background:#{{data.mainbgcol}}\">\r\n        <tr class=\"workflow_form_headline\" style=\"color:#{{data.textcol1}}\">\r\n          <th class=\"text-center workflow_top_th\" colspan=\"2\">\r\n            <b>{{data.title}}<\/b>\r\n              <span ng-if=\"data.subtitle\"><br\/>{{data.subtitle}}<\/span>\r\n          <\/th>\r\n        <\/tr>\r\n        <tr ng-repeat=\"row in data.steps\">\r\n          <td style=\"width:30%; vertical-align:middle\" class=\"text-center workflow_left_td\">\r\n            <span style=\"color:#{{data.textcol2}};\">{{row.label1}}<span ng-if=\" row.required == '1' \" style=\"color:firebrick\">&nbsp;*<\/span><\/span>\r\n          <\/td>\r\n\r\n          <td class=\"workflow_right_td\" ng-hide=\"confirm\">\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"text\" ng-if=\" row.type == 'text' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"email\" ng-if=\" row.type == 'email' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <textarea style=\"background:#{{data.textboxcol}}\" class=\"form-control\" ng-if=\" row.type == 'textarea' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \"><\/textarea>\r\n            <fieldset ng-if=\" row.type == 'radio' \">\r\n              <div style=\"display:inline-block\" ng-repeat=\"option in row.options track by $index\">\r\n                <input name=\"{{row.label1}}\" type=\"radio\" id=\"{{option}}\" value=\"{{option}}\" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>&nbsp;&nbsp;<label for=\"{{option}}\">{{option}}<\/label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n              <\/div>\r\n            <\/fieldset>\r\n            <fieldset ng-if=\" row.type == 'select' \">\r\n              <select ng-required=\" row.required == '1' \" ng-model=\"row.answer\">\r\n                <option ng-if=\" row.required == '1' \" value=\"\">Please select<\/option>\r\n                <option ng-repeat=\"option in row.options track by $index\" value=\"{{option}}\">{{option}}<\/option>\r\n              <\/select>\r\n            <\/fieldset>\r\n          <\/td>\r\n          <td ng-show=\"confirm\">{{ row.answer }}<\/td>\r\n        <\/tr>\r\n      <\/table>\r\n      <div class=\"text-center\" colspan=\"2\" ng-hide=\"confirm\">\r\n        <input type=\"submit\" class=\"tcd-submit-button\" value=\"{{ data.submit ? data.submit : 'Confirm' }}\" \/>\r\n      <\/div>\r\n\r\n      <div class=\"text-center\" colspan=\"2\" ng-show=\"confirm\">\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"confirm = false\">\u30ad\u30e3\u30f3\u30bb\u30eb<\/button>\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"sendForm()\">\u9001\u4fe1<\/button>\r\n      <\/div>\r\n    <\/form>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u3053\u306e\u30d5\u30a9\u30fc\u30e0\u306f\u3001\u6cd5\u4eba\u306e\u304a\u5ba2\u69d8\u5411\u3051\u304a\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002 \u53d6\u6750\u30fb\u30d7\u30ec\u30b9\u3001\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u306b\u95a2\u3059\u308b\u3054\u76f8\u8ac7\u3001\u307e\u3068\u307e\u3063\u305f\u3054\u5546\u8ac7\u306a\u3069\u3001\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002 \u500b\u4eba\u306e\u304a\u5ba2\u69d8\u306e\u3054\u8cfc\u5165\u5546\u54c1\u30fb\u3054\u6ce8\u6587\u306b\u95a2\u3059\u308b\u304a\u554f\u3044\u5408\u308f\u305b\u306f\u3001\u5404\u5e97\u8217\u306e\u7a93\u53e3 [&hellip;]","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-166","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/pages\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iwamizu.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":11,"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/pages\/166\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/iwamizu.jp\/index.php?rest_route=\/wp\/v2\/pages\/166\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/iwamizu.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}