 {"id":5399,"date":"2021-04-29T13:16:38","date_gmt":"2021-04-29T12:16:38","guid":{"rendered":"https:\/\/sola.kau.se\/cosie\/?page_id=5399"},"modified":"2021-04-29T13:16:39","modified_gmt":"2021-04-29T12:16:39","slug":"register","status":"publish","type":"page","link":"https:\/\/sola.kau.se\/cosie\/register\/","title":{"rendered":"Register"},"content":{"rendered":"<script type=\"text\/javascript\">\n\/* <![CDATA[ *\/\n\n\/\/----------------------------------------------------------\n\/\/------ JAVASCRIPT HOOK FUNCTIONS FOR GRAVITY FORMS -------\n\/\/----------------------------------------------------------\n\nif ( ! gform ) {\n\tdocument.addEventListener( 'gform_main_scripts_loaded', function() { gform.scriptsLoaded = true; } );\n\tdocument.addEventListener( 'gform\/theme\/scripts_loaded', function() { gform.themeScriptsLoaded = true; } );\n\twindow.addEventListener( 'DOMContentLoaded', function() { gform.domLoaded = true; } );\n\n\tvar gform = {\n\t\tdomLoaded: false,\n\t\tscriptsLoaded: false,\n\t\tthemeScriptsLoaded: false,\n\t\tisFormEditor: () => typeof InitializeEditor === 'function',\n\n\t\t\/**\n\t\t * @deprecated 2.9 the use of initializeOnLoaded in the form editor context is deprecated.\n\t\t * @remove-in 4.0 this function will not check for gform.isFormEditor().\n\t\t *\/\n\t\tcallIfLoaded: function ( fn ) {\n\t\t\tif ( gform.domLoaded && gform.scriptsLoaded && ( gform.themeScriptsLoaded || gform.isFormEditor() ) ) {\n\t\t\t\tif ( gform.isFormEditor() ) {\n\t\t\t\t\tconsole.warn( 'The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.' );\n\t\t\t\t}\n\t\t\t\tfn();\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\n\t\t\/**\n\t\t * Call a function when all scripts are loaded\n\t\t *\n\t\t * @param function fn the callback function to call when all scripts are loaded\n\t\t *\n\t\t * @returns void\n\t\t *\/\n\t\tinitializeOnLoaded: function( fn ) {\n\t\t\tif ( ! gform.callIfLoaded( fn ) ) {\n\t\t\t\tdocument.addEventListener( 'gform_main_scripts_loaded', () => { gform.scriptsLoaded = true; gform.callIfLoaded( fn ); } );\n\t\t\t\tdocument.addEventListener( 'gform\/theme\/scripts_loaded', () => { gform.themeScriptsLoaded = true; gform.callIfLoaded( fn ); } );\n\t\t\t\twindow.addEventListener( 'DOMContentLoaded', () => { gform.domLoaded = true; gform.callIfLoaded( fn ); } );\n\t\t\t}\n\t\t},\n\n\t\thooks: { action: {}, filter: {} },\n\t\taddAction: function( action, callable, priority, tag ) {\n\t\t\tgform.addHook( 'action', action, callable, priority, tag );\n\t\t},\n\t\taddFilter: function( action, callable, priority, tag ) {\n\t\t\tgform.addHook( 'filter', action, callable, priority, tag );\n\t\t},\n\t\tdoAction: function( action ) {\n\t\t\tgform.doHook( 'action', action, arguments );\n\t\t},\n\t\tapplyFilters: function( action ) {\n\t\t\treturn gform.doHook( 'filter', action, arguments );\n\t\t},\n\t\tremoveAction: function( action, tag ) {\n\t\t\tgform.removeHook( 'action', action, tag );\n\t\t},\n\t\tremoveFilter: function( action, priority, tag ) {\n\t\t\tgform.removeHook( 'filter', action, priority, tag );\n\t\t},\n\t\taddHook: function( hookType, action, callable, priority, tag ) {\n\t\t\tif ( undefined == gform.hooks[hookType][action] ) {\n\t\t\t\tgform.hooks[hookType][action] = [];\n\t\t\t}\n\t\t\tvar hooks = gform.hooks[hookType][action];\n\t\t\tif ( undefined == tag ) {\n\t\t\t\ttag = action + '_' + hooks.length;\n\t\t\t}\n\t\t\tif( priority == undefined ){\n\t\t\t\tpriority = 10;\n\t\t\t}\n\n\t\t\tgform.hooks[hookType][action].push( { tag:tag, callable:callable, priority:priority } );\n\t\t},\n\t\tdoHook: function( hookType, action, args ) {\n\n\t\t\t\/\/ splice args from object into array and remove first index which is the hook name\n\t\t\targs = Array.prototype.slice.call(args, 1);\n\n\t\t\tif ( undefined != gform.hooks[hookType][action] ) {\n\t\t\t\tvar hooks = gform.hooks[hookType][action], hook;\n\t\t\t\t\/\/sort by priority\n\t\t\t\thooks.sort(function(a,b){return a[\"priority\"]-b[\"priority\"]});\n\n\t\t\t\thooks.forEach( function( hookItem ) {\n\t\t\t\t\thook = hookItem.callable;\n\n\t\t\t\t\tif(typeof hook != 'function')\n\t\t\t\t\t\thook = window[hook];\n\t\t\t\t\tif ( 'action' == hookType ) {\n\t\t\t\t\t\thook.apply(null, args);\n\t\t\t\t\t} else {\n\t\t\t\t\t\targs[0] = hook.apply(null, args);\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t\tif ( 'filter'==hookType ) {\n\t\t\t\treturn args[0];\n\t\t\t}\n\t\t},\n\t\tremoveHook: function( hookType, action, priority, tag ) {\n\t\t\tif ( undefined != gform.hooks[hookType][action] ) {\n\t\t\t\tvar hooks = gform.hooks[hookType][action];\n\t\t\t\thooks = hooks.filter( function(hook, index, arr) {\n\t\t\t\t\tvar removeHook = (undefined==tag||tag==hook.tag) && (undefined==priority||priority==hook.priority);\n\t\t\t\t\treturn !removeHook;\n\t\t\t\t} );\n\t\t\t\tgform.hooks[hookType][action] = hooks;\n\t\t\t}\n\t\t}\n\t};\n}\n\n\/* ]]> *\/\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_2' >\n                        <div class='gform_heading'>\n                            <h3 class=\"gform_title\">register<\/h3>\n                            <p class='gform_description'><\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_2'  action='\/cosie\/wp-json\/wp\/v2\/pages\/5399' data-formid='2' novalidate>\n                        <div class='gform-body gform_body'><ul id='gform_fields_2' class='gform_fields top_label form_sublabel_below description_below validation_below'><li id=\"field_2_1\" class=\"gfield gfield--type-name field_sublabel_below gfield--no-description field_description_below 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_2_1'>\n                            \n                            <span id='input_2_1_3_container' class='name_first gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_1.3' id='input_2_1_3' value=''   aria-required='false'     \/>\n                                                    <label for='input_2_1_3' class='gform-field-label gform-field-label--type-sub '>First<\/label>\n                                                <\/span>\n                            \n                            <span id='input_2_1_6_container' class='name_last gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_1.6' id='input_2_1_6' value=''   aria-required='false'     \/>\n                                                    <label for='input_2_1_6' class='gform-field-label gform-field-label--type-sub '>Last<\/label>\n                                                <\/span>\n                            \n                        <\/div><\/li><li id=\"field_2_2\" class=\"gfield gfield--type-username field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_2_2'><span class='gform-field-label__text'>Username<\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_2' id='input_2_2' type='text' value='' class='medium'  aria-describedby=\"input_2_2_desc\"    aria-invalid=\"false\"   \/><\/div><\/li><li id=\"field_2_3\" class=\"gfield gfield--type-email field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_2_3'><span class='gform-field-label__text'>Email<\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_3' id='input_2_3' type='email' value='' class='medium'     aria-invalid=\"false\"  \/>\n                        <\/div><\/li><li id=\"field_2_4\" class=\"gfield gfield--type-password field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' ><span class='gform-field-label__text'>Password<\/span><\/label><div class='ginput_complex ginput_container ginput_container_password gform-grid-row' id='input_2_4_container'>\n\t\t\t\t\t\t<span id='input_2_4_1_container' class='ginput_password ginput_left gform-grid-col gform-grid-col--size-auto'>\n\t\t\t\t\t\t\t<span class='password_input_container'>\n\t\t\t\t\t\t\t<input type='password' name='input_4' id='input_2_4'    value=''    aria-invalid=\"false\" \/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t<label for='input_2_4' class='gform-field-label gform-field-label--type-sub '>Enter Password<\/label>\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<span id='input_2_4_2_container' class='ginput_password ginput_right gform-grid-col gform-grid-col--size-auto'>\n\t\t\t\t\t\t\t<span class='password_input_container'>\n\t\t\t\t\t\t\t<input type='password' name='input_4_2' id='input_2_4_2'   value=''    aria-invalid=\"false\" \/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t<label for='input_2_4_2' class='gform-field-label gform-field-label--type-sub '>Confirm Password<\/label>\n\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<div class='gf_clear gf_clear_complex'><\/div>\n\t\t\t\t\t<\/div><\/li><li id=\"field_2_5\" class=\"gfield gfield--type-consent gfield--type-choice gfield--input-type-consent gfield--width-full gfield_contains_required field_sublabel_below gfield--has-description field_description_below 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'>Consent<\/span><span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_consent'><input name='input_5.1' id='input_2_5_1' type='checkbox' value='1'  aria-describedby=\"gfield_consent_description_2_5\" aria-required=\"true\" aria-invalid=\"false\"   \/> <label class=\"gform-field-label gform-field-label--type-inline gfield_consent_label\" for='input_2_5_1' ><span class='gform-field-label__text'>I consent to the personal data processing.<\/span><\/label><input type='hidden' name='input_5.2' value='I consent to the personal data processing.' class='gform_hidden' \/><input type='hidden' name='input_5.3' value='2' class='gform_hidden' \/><\/div><div class='gfield_description gfield_consent_description' id='gfield_consent_description_2_5'><div class='gfield_consent_description_text' tabindex='0'>According to The General Data Protection Regulation (GDPR), we are not allowed to register your details without your consent. By clicking on &#8220;Submit&#8221; in our online form, you authorize Karlstad University to store your data. The university is obliged, at your request, to correct, block and delete your data. Here you can read more about <a href=\"https:\/\/www.kau.se\/en\/about-university\/contact\/about-kause\/contact-webmaster\/personal-data-processing-karlstad-university\" target=\"_blank\">how Karlstad University handles personal data<\/a>. <\/div><\/div><\/li><li id=\"field_2_6\" class=\"gfield gfield--type-captcha field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_2_6'><span class='gform-field-label__text'>CAPTCHA<\/span><\/label><div id='input_2_6' class='ginput_container ginput_recaptcha' data-sitekey='6Le0QeUUAAAAADnj_RugnMZNjyM6BFOjKKsaCV89'  data-theme='light' data-tabindex='0'  data-badge=''><\/div><\/li><\/ul><\/div>\n        <div class='gform-footer gform_footer top_label'> <button type='submit' id='gform_submit_button_2' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' >Submit<\/button> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_2' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_2' id='gform_theme_2' value='legacy' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_2' id='gform_style_settings_2' value='[]' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_2' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='2' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_currency' data-currency='USD' value='tiU8ysCX8cJTzXLluCbKFno4+T+Vpvs4dIKMAKGp\/Dgz9Q5+3iLpx0HTA3FRKaYtH5KTV8008c1Os+GNWjLrXvX5pKlwFoXNuaU2XTPz9mMUl2o=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_2' value='WyJ7XCI1LjFcIjpcIjFmNzg4N2JhNjA1MTIxNzIwODJmN2JjMDMwOTZmYTRhXCIsXCI1LjJcIjpcIjJkOTE2MWM1ZGViOWU0NTMwMzVmZGI1NjZmMjNmZDE3XCIsXCI1LjNcIjpcImQyOTg1ZmUwZTFlOTMyMjdkNzU1NTk2NzYyNmY2ZjA5XCIsXCJnZm9ybV9zdWJtaXNzaW9uX21ldGhvZFwiOltcImU3N2RmZWFiNWE2ODBkODJkYjVkZWZiNjExMTEwNzIwXCIsXCIzNTJmZDEwNDEzZTc2ZjQxMDVmMGFmODMyN2I1NDllZFwiXSxcImdmb3JtX3RoZW1lXCI6XCJkYTI2N2IzNWQyZDQyMGUzYWMyYzhkMjczZGNkNTEwMVwiLFwiZ2Zvcm1fc3R5bGVfc2V0dGluZ3NcIjpcIjE4ZGUwYjdmMzMwZThmYmNlYmZmOTJkZDU3ZDQxMzk3XCIsXCJmb3JtX2lkXCI6XCJkMjk4NWZlMGUxZTkzMjI3ZDc1NTU5Njc2MjZmNmYwOVwiLFwidXJsXCI6XCJiYTc1YmZhY2JmYjQxY2Q3NGE0ZDFmMjExYTE4YWZmMFwiLFwic3RhdGVfdGltZXN0YW1wXCI6XCI2MWRkYWQ1YjExNzdlNzMzZTIxNGYxNTNiYjU4NDFlZVwifSIsImQ0NTQ2YWI3M2NjMTZiMDIxNDhjN2Q4NmJjYWE5MDA1IiwxNzg5OTQ4ODc5XQ==' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_2' id='gform_target_page_number_2' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_2' id='gform_source_page_number_2' 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":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-5399","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/pages\/5399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/comments?post=5399"}],"version-history":[{"count":1,"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/pages\/5399\/revisions"}],"predecessor-version":[{"id":5400,"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/pages\/5399\/revisions\/5400"}],"wp:attachment":[{"href":"https:\/\/sola.kau.se\/cosie\/wp-json\/wp\/v2\/media?parent=5399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}