{"id":224079,"date":"2021-02-02T16:05:17","date_gmt":"2021-02-02T22:05:17","guid":{"rendered":"https:\/\/santeenfrancais.com\/testing-multilingual-form\/"},"modified":"2021-02-02T16:06:35","modified_gmt":"2021-02-02T22:06:35","slug":"testing-multilingual-form","status":"publish","type":"page","link":"https:\/\/santeenfrancais.com\/en\/testing-multilingual-form\/","title":{"rendered":"testing multilingual form"},"content":{"rendered":"<script>\nvar gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});\n<\/script>\n\n                <div class='gf_browser_gecko gform_wrapper gform_legacy_markup_wrapper gform-theme--no-framework' data-form-theme='legacy' data-form-index='0' id='gform_wrapper_1' >\n                        <div class='gform_heading'>\n                            <h3 class=\"gform_title\">English side of form<\/h3>\n                            <p class='gform_description'>Seeing if the form will work in both languages and only display results in one<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_1'  action='\/en\/wp-json\/wp\/v2\/pages\/224079' data-formid='1' novalidate>\n                        <div class='gform-body gform_body'><ul id='gform_fields_1' class='gform_fields top_label form_sublabel_below description_above validation_below'><li id=\"field_1_3\" class=\"gfield gfield--type-name field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' ><span class='gform-field-label__text'>Name<\/span><\/label><div class='ginput_complex ginput_container ginput_container--name no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name gform-grid-row' id='input_1_3'>\n                            \n                            <span id='input_1_3_3_container' class='name_first gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_3.3' id='input_1_3_3' value=''   aria-required='false'     \/>\n                                                    <label for='input_1_3_3' class='gform-field-label gform-field-label--type-sub '>First<\/label>\n                                                <\/span>\n                            \n                            <span id='input_1_3_6_container' class='name_last gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_3.6' id='input_1_3_6' value=''   aria-required='false'     \/>\n                                                    <label for='input_1_3_6' class='gform-field-label gform-field-label--type-sub '>Last<\/label>\n                                                <\/span>\n                            \n                        <\/div><\/li><li id=\"field_1_2\" class=\"gfield gfield--type-email field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_2'><span class='gform-field-label__text'>Email<\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_2' id='input_1_2' type='email' value='' class='medium'     aria-invalid=\"false\"  \/>\n                        <\/div><\/li><li id=\"field_1_4\" class=\"gfield gfield--type-phone gfield--phone-format-standard field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_1_4'><span class='gform-field-label__text'>Phone<\/span><\/label><div class='ginput_container ginput_container_phone'><input name='input_4' id='input_1_4' type='tel' value='' class='medium'  placeholder='(999) 999-9999'  aria-invalid=\"false\"   data-mask=\"(999) 999-9999\" \/><\/div><\/li><li id=\"field_1_7\" class=\"gfield gfield--type-checkbox gfield--type-choice field_sublabel_below gfield--has-description field_description_above field_validation_below gfield_visibility_visible gfield--choice-align-vertical\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' ><span class='gform-field-label__text'>Course level<\/span><\/label><div class='gfield_description' id='gfield_description_1_7'>Select your desired course level in english<\/div><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_1_7'><li class='gchoice gchoice_1_7_1'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_7.1' type='checkbox'  value='Level 1'  id='choice_1_7_1'   aria-describedby=\"gfield_description_1_7\"\/>\n\t\t\t\t\t\t\t\t<label for='choice_1_7_1' id='label_1_7_1' class='gform-field-label gform-field-label--type-inline'>Level 1<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_1_7_2'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_7.2' type='checkbox'  value='Level 2'  id='choice_1_7_2'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_1_7_2' id='label_1_7_2' class='gform-field-label gform-field-label--type-inline'>Level 2<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_1_7_3'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_7.3' type='checkbox'  value='Level 3'  id='choice_1_7_3'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_1_7_3' id='label_1_7_3' class='gform-field-label gform-field-label--type-inline'>Level 3<\/label>\n\t\t\t\t\t\t\t<\/li><\/ul><\/div><\/li><\/ul><\/div>\n        <div class='gform-footer gform_footer top_label'> <button type='submit' id='gform_submit_button_1' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' >Enter<\/button> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_1' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_1' id='gform_theme_1' value='legacy' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_1' id='gform_style_settings_1' value='[]' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_1' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='1' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_currency' data-currency='CAD' value='xCuyV8VP7UnBDQfXuAvVuzVHso8wvH1Ymac3VDW7Lf8b\/V\/VfCq6WEVljlFdEAtKz7\/yWTZHK83PeNrAlhxfBFyVuMAw5a+XogRNdZQO53H9K3Y=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_1' value='WyJ7XCJnZm9ybV9zdWJtaXNzaW9uX21ldGhvZFwiOltcImZmZmU3MzhiNTI3ZjM0MDg2NzVjNTE4YTVhNjMxYzQxXCIsXCI2OThiMWU4ZWNjYjBmYTVkYTllZWZiZTQzNjlkMjBkN1wiXSxcImdmb3JtX3RoZW1lXCI6XCJiYWIzZDRjOTc5MmUwZjQ5YmI4OTY3YWI5MWYwZDNmZlwiLFwiZ2Zvcm1fc3R5bGVfc2V0dGluZ3NcIjpcIjkzMTYwYjU0OTdjY2U2YjdjM2IzZTMwNzgxMjlmNzExXCIsXCJmb3JtX2lkXCI6XCI4OGQ5YzU1ZTcwNzA2Y2Y2NDYxMDk0OGIxNmY2YzFhM1wiLFwidXJsXCI6XCIyNTZiY2UyZjk5ZDllZjViMGU2YWIyMTkxMTYxZWMwYlwiLFwic3RhdGVfdGltZXN0YW1wXCI6XCI0ZjE2YmRmMzFlYjBmNzNhNmFiZWQyYzFmYjg4NDNkZVwifSIsIjc5ZTI2ZGQyNGE5YmE1MGU5MTA4OTkwMDdiMTg4NDFiIiwxNzg5MDk1MzYyXQ==' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_1' id='gform_target_page_number_1' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_1' id='gform_source_page_number_1' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-224079","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/pages\/224079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/comments?post=224079"}],"version-history":[{"count":1,"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/pages\/224079\/revisions"}],"predecessor-version":[{"id":224080,"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/pages\/224079\/revisions\/224080"}],"wp:attachment":[{"href":"https:\/\/santeenfrancais.com\/en\/wp-json\/wp\/v2\/media?parent=224079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}