
{"id":518,"date":"2014-04-03T23:26:16","date_gmt":"2014-04-03T23:26:16","guid":{"rendered":"http:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/?page_id=518"},"modified":"2015-11-03T11:46:18","modified_gmt":"2015-11-03T11:46:18","slug":"free-e-book","status":"publish","type":"page","link":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/free-e-book\/","title":{"rendered":"FREE E-Book and Newsletter"},"content":{"rendered":"<p>Fill in the form below.<br \/>\n<center><!-- Begin MailChimp Signup Form --><\/center>&nbsp;<\/p>\n<div id=\"mc_embed_signup\">\n<form id=\"mc-embedded-subscribe-form\" class=\"validate\" action=\"http:\/\/handsupfortrad.us4.list-manage2.com\/subscribe\/post?u=69e821c9b61b5853558074d1c&amp;id=1bed51f4c3\" method=\"post\" name=\"mc-embedded-subscribe-form\" novalidate=\"\" target=\"_blank\">\n<p style=\"text-align: center;\"><strong><span style=\"color: #005060; font-size: 18pt;\">FREE Heroes of Scottish Traditional Music E-Book<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #005060; font-size: 14pt;\">Sign up for the Hands Up for Trad Newsletter and we\u2019ll email the link today!<\/span><\/p>\n<div class=\"indicates-required\"><span class=\"asterisk\">*<\/span> indicates required<\/div>\n<div class=\"mc-field-group\"><label for=\"mce-FNAME\">First Name <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input id=\"mce-FNAME\" class=\"required\" name=\"FNAME\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-LNAME\">Last Name <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input id=\"mce-LNAME\" class=\"required\" name=\"LNAME\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"mc-field-group\"><label for=\"mce-EMAIL\">Email Address <span class=\"asterisk\">*<\/span><br \/>\n<\/label><br \/>\n<input id=\"mce-EMAIL\" class=\"required email\" name=\"EMAIL\" type=\"email\" value=\"\" \/><\/div>\n<p>Powered by <a title=\"MailChimp - email marketing made easy and fun\" href=\"http:\/\/eepurl.com\/PHGrz\">MailChimp<\/a><\/p>\n<div id=\"mce-responses\" class=\"clear\"><\/div>\n<p><a href=\"http:\/\/projects.handsupfortrad.scot\/handsupfortrad\/files\/2014\/01\/mansruin3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-858 aligncenter\" src=\"http:\/\/projects.handsupfortrad.scot\/handsupfortrad\/files\/2014\/01\/mansruin3.jpg\" alt=\"man'sruin3\" width=\"170\" height=\"170\" \/><\/a><br \/>\n<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--><\/p>\n<div style=\"position: absolute; left: -5000px;\"><input name=\"b_69e821c9b61b5853558074d1c_1bed51f4c3\" type=\"text\" value=\"\" \/><\/div>\n<div class=\"clear\" style=\"text-align: center;\"><input id=\"mc-embedded-subscribe\" class=\"button\" name=\"subscribe\" type=\"submit\" value=\"Subscribe\" \/><\/div>\n<\/form>\n<\/div>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\nvar fnames = new Array();var ftypes = new Array();fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[0]='EMAIL';ftypes[0]='email'; try { var jqueryLoaded=jQuery; jqueryLoaded=true; } catch(err) { var jqueryLoaded=false; } var head= document.getElementsByTagName('head')[0]; if (!jqueryLoaded) { var script = document.createElement('script'); script.type = 'text\/javascript'; script.src = '\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.4.4\/jquery.min.js'; head.appendChild(script); if (script.readyState &#038;&#038; script.onload!==null){ script.onreadystatechange= function () { if (this.readyState == 'complete') mce_preload_check(); } } } var err_style = ''; try{ err_style = mc_custom_error_style; } catch(e){ err_style = '#mc_embed_signup input.mce_inline_error{border-color:#6B0505;} #mc_embed_signup div.mce_inline_error{margin: 0 0 1em 0; padding: 5px 10px; background-color:#6B0505; font-weight: bold; z-index: 1; color:#fff;}'; } var head= document.getElementsByTagName('head')[0]; var style= document.createElement('style'); style.type= 'text\/css'; if (style.styleSheet) { style.styleSheet.cssText = err_style; } else { style.appendChild(document.createTextNode(err_style)); } head.appendChild(style); setTimeout('mce_preload_check();', 250); var mce_preload_checks = 0; function mce_preload_check(){ if (mce_preload_checks>40) return;\n    mce_preload_checks++;\n    try {\n        var jqueryLoaded=jQuery;\n    } catch(err) {\n        setTimeout('mce_preload_check();', 250);\n        return;\n    }\n    var script = document.createElement('script');\n    script.type = 'text\/javascript';\n    script.src = 'http:\/\/downloads.mailchimp.com\/js\/jquery.form-n-validate.js';\n    head.appendChild(script);\n    try {\n        var validatorLoaded=jQuery(\"#fake-form\").validate({});\n    } catch(err) {\n        setTimeout('mce_preload_check();', 250);\n        return;\n    }\n    mce_init_form();\n}\nfunction mce_init_form(){\n    jQuery(document).ready( function($) {\n      var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };\n      var mce_validator = $(\"#mc-embedded-subscribe-form\").validate(options);\n      $(\"#mc-embedded-subscribe-form\").unbind('submit');\/\/remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator\n      options = { url: 'http:\/\/handsupfortrad.us4.list-manage.com\/subscribe\/post-json?u=69e821c9b61b5853558074d1c&#038;id=1bed51f4c3&#038;c=?', type: 'GET', dataType: 'json', contentType: \"application\/json; charset=utf-8\",\n                    beforeSubmit: function(){\n                        $('#mce_tmp_error_msg').remove();\n                        $('.datefield','#mc_embed_signup').each(\n                            function(){\n                                var txt = 'filled';\n                                var fields = new Array();\n                                var i = 0;\n                                $(':text', this).each(\n                                    function(){\n                                        fields[i] = this;\n                                        i++;\n                                    });\n                                $(':hidden', this).each(\n                                    function(){\n                                        var bday = false;\n                                        if (fields.length == 2){\n                                            bday = true;\n                                            fields[2] = {'value':1970};\/\/trick birthdays into having years\n                                        }\n                                    \tif ( fields[0].value=='MM' &#038;& fields[1].value=='DD' &#038;& (fields[2].value=='YYYY' || (bday &#038;& fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else if ( fields[0].value=='' &#038;& fields[1].value=='' &#038;& (fields[2].value=='' || (bday &#038;& fields[2].value==1970) ) ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else {\n\t\t\t\t\t\t\t\t\t        if (\/\\[day\\]\/.test(fields[0].name)){\n    \t                                        this.value = fields[1].value+'\/'+fields[0].value+'\/'+fields[2].value;\t\t\t\t\t\t\t\t\t        \n\t\t\t\t\t\t\t\t\t        } else {\n    \t                                        this.value = fields[0].value+'\/'+fields[1].value+'\/'+fields[2].value;\n\t                                        }\n\t                                    }\n                                    });\n                            });\n                        $('.phonefield-us','#mc_embed_signup').each(\n                            function(){\n                                var fields = new Array();\n                                var i = 0;\n                                $(':text', this).each(\n                                    function(){\n                                        fields[i] = this;\n                                        i++;\n                                    });\n                                $(':hidden', this).each(\n                                    function(){\n                                        if ( fields[0].value.length != 3 || fields[1].value.length!=3 || fields[2].value.length!=4 ){\n                                    \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t    } else {\n\t\t\t\t\t\t\t\t\t        this.value = 'filled';\n\t                                    }\n                                    });\n                            });\n                        return mce_validator.form();\n                    }, \n                    success: mce_success_cb\n                };\n      $('#mc-embedded-subscribe-form').ajaxForm(options);\n\n    });\n}\nfunction mce_success_cb(resp){\n    $('#mce-success-response').hide();\n    $('#mce-error-response').hide();\n    if (resp.result==\"success\"){\n        $('#mce-'+resp.result+'-response').show();\n        $('#mce-'+resp.result+'-response').html(resp.msg);\n        $('#mc-embedded-subscribe-form').each(function(){\n            this.reset();\n    \t});\n    } else {\n        var index = -1;\n        var msg;\n        try {\n            var parts = resp.msg.split(' - ',2);\n            if (parts[1]==undefined){\n                msg = resp.msg;\n            } else {\n                i = parseInt(parts[0]);\n                if (i.toString() == parts[0]){\n                    index = parts[0];\n                    msg = parts[1];\n                } else {\n                    index = -1;\n                    msg = resp.msg;\n                }\n            }\n        } catch(e){\n            index = -1;\n            msg = resp.msg;\n        }\n        try{\n            if (index== -1){\n                $('#mce-'+resp.result+'-response').show();\n                $('#mce-'+resp.result+'-response').html(msg);            \n            } else {\n                err_id = 'mce_tmp_error_msg';\n                html = '\n\n\n\n\n\n\n\n\n\n<div id=\"'+err_id+'\" style=\"'+err_style+'\"> '+msg+'<\/div>\n\n\n\n\n\n\n\n\n';\n\n                var input_id = '#mc_embed_signup';\n                var f = $(input_id);\n                if (ftypes[index]=='address'){\n                    input_id = '#mce-'+fnames[index]+'-addr1';\n                    f = $(input_id).parent().parent().get(0);\n                } else if (ftypes[index]=='date'){\n                    input_id = '#mce-'+fnames[index]+'-month';\n                    f = $(input_id).parent().parent().get(0);\n                } else {\n                    input_id = '#mce-'+fnames[index];\n                    f = $().parent(input_id).get(0);\n                }\n                if (f){\n                    $(f).append(html);\n                    $(input_id).focus();\n                } else {\n                    $('#mce-'+resp.result+'-response').show();\n                    $('#mce-'+resp.result+'-response').html(msg);\n                }\n            }\n        } catch(e){\n            $('#mce-'+resp.result+'-response').show();\n            $('#mce-'+resp.result+'-response').html(msg);\n        }\n    }\n}\n\/\/ ]]><\/script><br \/>\n<!--End mc_embed_signup--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fill in the form below. &nbsp; FREE Heroes of Scottish Traditional Music E-Book Sign up for the Hands Up for Trad Newsletter and we\u2019ll email the link today! * indicates required First Name * Last Name * Email Address * Powered by MailChimp<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"class_list":{"0":"post-518","1":"page","2":"type-page","3":"status-publish","5":"entry"},"_links":{"self":[{"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/pages\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":6,"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/pages\/518\/revisions"}],"predecessor-version":[{"id":2007,"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/pages\/518\/revisions\/2007"}],"wp:attachment":[{"href":"https:\/\/projects.handsupfortrad.scot\/scotstradmusicawards\/wp-json\/wp\/v2\/media?parent=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}