{"id":1576,"date":"2021-08-12T03:18:54","date_gmt":"2021-08-12T03:18:54","guid":{"rendered":"https:\/\/nexsta.jp\/wp\/?page_id=1576"},"modified":"2021-12-22T23:46:36","modified_gmt":"2021-12-22T23:46:36","slug":"%e6%b1%82%e4%ba%ba%e6%8e%a1%e7%94%a8%e3%82%a8%e3%83%b3%e3%83%88%e3%83%aa%e3%83%bc%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0","status":"publish","type":"page","link":"https:\/\/nexsta.jp\/wp\/?page_id=1576","title":{"rendered":"\u6c42\u4eba\u63a1\u7528\u30a8\u30f3\u30c8\u30ea\u30fc\u30d5\u30a9\u30fc\u30e0"},"content":{"rendered":"\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:#A8BDFF;            border-radius:-1px;    }\r\n    .tcd-submit-button:hover{\r\n      background-color:#F785FF;    }\r\n\r\n    .workflow_left_td{\r\n      background-color:#DBEEFF!important;    }\r\n\r\n    .workflow_right_td{\r\n      background-color:#FFFFFF!important;    }\r\n\r\n    .workflow_top_th{\r\n      background-color:#FBBDFF!important;    }    \r\n  <\/style>\r\n  <script type=\"text\/javascript\">\r\n      var app = angular.module('app213819', [])\r\n      app.controller('MainCtrl213819', function($scope, $http, $httpParamSerializerJQLike) {\r\n        $scope.data = {\"name\":\"\\u6c42\\u4eba\\u63a1\\u7528\\u30a8\\u30f3\\u30c8\\u30ea\\u30fc\\u30d5\\u30a9\\u30fc\\u30e0\",\"title\":\"\\u6c42\\u4eba\\u63a1\\u7528\\u30a8\\u30f3\\u30c8\\u30ea\\u30fc\\u30d5\\u30a9\\u30fc\\u30e0\",\"mainbgcol\":\"FFFFFF\",\"textboxcol\":\"DEF8FF\",\"col1\":\"FBBDFF\",\"textcol1\":\"000000\",\"col2\":\"DBEEFF\",\"textcol2\":\"000000\",\"col3\":\"FFFFFF\",\"textcol3\":\"000000\",\"bordercol\":\"DDDDDD\",\"type\":\"form\",\"tablewidth\":\"100%\",\"colwidth\":\"30%\",\"border\":true,\"steps\":[{\"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\":\"\\u30e1\\u30fc\\u30eb\\u30a2\\u30c9\\u30ec\\u30b9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"email\",\"options\":null},{\"label1\":\"\\u6027\\u5225\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"radio\",\"options\":\"\\u7537\\u6027\\n\\u5973\\u6027\"},{\"label1\":\"\\u5e74\\u9f62\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u73fe\\u5728\\u3001\\u307e\\u305f\\u306f\\u4ee5\\u524d\\u306e\\u8077\\u696d\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u5e0c\\u671b\\u306e\\u696d\\u52d9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"select\",\"options\":\"\\u969c\\u304c\\u3044\\u306e\\u3042\\u308b\\u65b9\\u306e\\u5c31\\u52b4\\u652f\\u63f4\\u4e8b\\u696d\\u6240\\u3067\\u306e\\u5c31\\u52b4\\u652f\\u63f4\\u30fb\\u751f\\u6d3b\\u652f\\u63f4\\n\\u969c\\u304c\\u3044\\u306e\\u3042\\u308b\\u65b9\\u306e\\u30b0\\u30eb\\u30fc\\u30d7\\u30db\\u30fc\\u30e0\\u3067\\u306e\\u751f\\u6d3b\\u652f\\u63f4\"},{\"label1\":\"\\u5e0c\\u671b\\u306e\\u52e4\\u52d9\\u6761\\u4ef6\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"textarea\",\"options\":null},{\"label1\":\"\\u8077\\u6b74\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"textarea\",\"options\":null},{\"label1\":\"\\u5fd7\\u671b\\u7406\\u7531\",\"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,\"mailnotif\":true,\"submit\":\"\\u78ba\\u8a8d\\u753b\\u9762\\u3078\\u9032\\u3080\",\"submitcol\":\"A8BDFF\",\"submithovercol\":\"F785FF\",\"submitborderradius\":-1,\"submitsize\":\"m\",\"submitalign\":\"center\",\"redirect\":\"https:\\\/\\\/nexsta.jp\\\/wp\\\/?page_id=2\",\"mailto\":\"info@nexsta.jp\",\"mailsubj\":\"\\u6c42\\u4eba\\u63a1\\u7528\\u30a8\\u30f3\\u30c8\\u30ea\\u30fc\\u30d5\\u30a9\\u30fc\\u30e0\\u304b\\u3089\\u306e\\u6c42\\u4eba\",\"mailcustsender\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30cd\\u30af\\u30b9\\u30c6\",\"mailcustsendermail\":\"info@nexsta.jp\",\"mailcustsubj\":\"\\u6c42\\u4eba\\u63a1\\u7528\\u30a8\\u30f3\\u30c8\\u30ea\\u30fc\\u30d5\\u30a9\\u30fc\\u30e0\\u304b\\u3089\\u306e\\u30a8\\u30f3\\u30c8\\u30ea\\u30fc\\u3042\\u308a\\u304c\\u3068\\u3046\\u3054\\u3056\\u3044\\u307e\\u3059\\u3002\",\"mailreplyto\":\"info@nexsta.jp\",\"mailcustcontent\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u9802\\u304d\\u3001\\u8aa0\\u306b\\u3042\\u308a\\u304c\\u3068\\u3046\\u3054\\u3056\\u3044\\u307e\\u3059\\u3002\\n\\u3053\\u306e\\u30e1\\u30fc\\u30eb\\u306f\\u3001\\u304a\\u5ba2\\u69d8\\u306e\\u3054\\u78ba\\u8a8d\\u7528\\u306b\\u81ea\\u52d5\\u8fd4\\u4fe1\\u3055\\u308c\\u305f\\u3082\\u306e\\u3067\\u3059\\u3002\\n\\u4e0b\\u8a18\\u5185\\u5bb9\\u3067\\u53d7\\u4ed8\\u3055\\u305b\\u3066\\u9802\\u304d\\u307e\\u3057\\u305f\\u306e\\u3067\\u3001\\u3054\\u78ba\\u8a8d\\u304f\\u3060\\u3055\\u3044\\u3002\\n\\n\\u571f\\u65e5\\u30fb\\u795d\\u796d\\u65e5\\u30fb\\u5f0a\\u793e\\u4f11\\u6687\\u671f\\u9593\\u4e2d\\u306e\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u306b\\u3064\\u304d\\u307e\\u3057\\u3066\\u306f\\u3001\\n\\u30e1\\u30fc\\u30eb\\u306e\\u8fd4\\u4fe1\\u306b\\u304a\\u6642\\u9593\\u3092\\u9802\\u6234\\u3059\\u308b\\u5834\\u5408\\u304c\\u3054\\u3056\\u3044\\u307e\\u3059\\u306e\\u3067\\u3001\\n\\u3042\\u3089\\u304b\\u3058\\u3081\\u3054\\u4e86\\u627f\\u304f\\u3060\\u3055\\u3044\\u3002\\n\\n\\u682a\\u5f0f\\u4f1a\\u793e\\u30cd\\u30af\\u30b9\\u30c6\",\"id\":\"4\",\"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: 4 }\r\n          $http({\r\n            url: \"https:\/\/nexsta.jp\/wp\/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                          window.location.href = 'https:\/\/nexsta.jp\/wp\/?page_id=2';\r\n                      })\r\n        }\r\n      })\r\n  <\/script>\r\n  <div ng-app=\"app213819\" ng-controller=\"MainCtrl213819\">\r\n\r\n    <h2 class=\"text-center\" ng-show=\"completed\">\r\n          <\/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>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-nosidebar.php","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"_links":{"self":[{"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1576"}],"collection":[{"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1576"}],"version-history":[{"count":2,"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1576\/revisions"}],"predecessor-version":[{"id":2448,"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=\/wp\/v2\/pages\/1576\/revisions\/2448"}],"wp:attachment":[{"href":"https:\/\/nexsta.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}