{"id":8805,"date":"2010-04-09T20:17:08","date_gmt":"2010-04-10T01:17:08","guid":{"rendered":"http:\/\/chicagotyagarajautsavam.org\/?p=8805"},"modified":"2017-04-18T16:20:59","modified_gmt":"2017-04-18T21:20:59","slug":"ctu-2017-competition-payment","status":"publish","type":"post","link":"http:\/\/chicagotyagarajautsavam.org\/?p=8805","title":{"rendered":"CTU 2017 Competition Payment"},"content":{"rendered":"<p id=\"top\" \/><style>@media (max-width:480px){#cp_calculatedfieldsf_pform_1{min-height:1022px;}}<\/style>\t<pre style=\"display:none !important;\"><script type=\"text\/javascript\">\r\n\t function doValidate_1(form, validation_only)\r\n\t {\r\n\t\tvalidation_only = validation_only || false;\r\n window['cff_enabling_form' ] = function(_form){\r\n if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n _form.validate().settings.ignore = '.ignore,.ignorepb';\r\n _form.removeData('being-submitted');\r\n _form.find('.submitbtn-disabled').removeClass('submitbtn-disabled');\r\n _form.find('.cff-processing-form').remove();\r\n };\r\n window['cff_disabling_form'] = function(_form){\r\n if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n if(cff_form_disabled(_form)) return;\r\n _form.find('.pbSubmit').addClass('submitbtn-disabled');\r\n _form.data('being-submitted',1);\r\n var d = document.createElement('div');\r\n $dexQuery(d).addClass('cff-processing-form').appendTo(_form.find('#fbuilder'));\r\n };\r\n window['cff_form_disabled' ] = function(_form){\r\n if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form);\r\n return ('undefined' != typeof _form.data('being-submitted'));\r\n };\r\n\t\tvar form_identifier = '_1';\r\n\t\tif(typeof cpcff_validation_rules == 'undefined') cpcff_validation_rules = {};\r\n\t\tif(typeof cpcff_validation_rules[form_identifier] == 'undefined') cpcff_validation_rules[form_identifier] = {};\r\n\t\tvar $dexQuery = (fbuilderjQuery) ? fbuilderjQuery : jQuery.noConflict(),\r\n\t\t\t_form = $dexQuery(\"#cp_calculatedfieldsf_pform\"+form_identifier),\r\n\t\t\tform_disabled = function(){cff_form_disabled(_form);},\r\n\t\t\tdisabling_form = function(){cff_disabling_form(_form);},\r\n\t\t\tenabling_form = function(){cff_enabling_form(_form);};\r\n\t\tif(form_disabled()) return false;\r\n\t\t_form.validate().settings.ignore = '.ignore';\r\n\t\tvar\tcpefb_error = !_form.validate().checkForm();\r\n\t\tvar\tvalidation_rules = cpcff_validation_rules[form_identifier],\r\n\t\t\tprocessing_form = function()\r\n\t\t\t{\r\n \t\t\t\tfor(var rule in validation_rules)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!validation_rules[rule]) {\r\n\t\t\t\t\t\t$dexQuery(form).trigger('cff-form-validation', false);\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif ( validation_only ) {\r\n\t\t\t\t\t$dexQuery(form).trigger('cff-form-validation', true);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t_form.find(\"[name$='_date'][type='hidden']\").each(function(){\r\n\t\t\t\t\tvar v \t = $dexQuery(this).val(),\r\n\t\t\t\t\t\tname = $dexQuery(this).attr( 'name' ).replace('_date', ''),\r\n\t\t\t\t\t\te \t = $dexQuery(\"[name='\"+name+\"']\");\r\n\t\t\t\t\t\tif( e.length && ! $dexQuery(\"[id='\"+name+\"_datepicker_container']\").length ){ e.val( String( e.val().replace( v, '' ) ).trim() ); }\r\n\t\t\t\t});\r\n\t\t\t\t_form.find(\"select option[vt]\").each(function(){\r\n var e = $dexQuery(this);\r\n e.attr('cff-val-bk', e.val()).val(e.attr(\"vt\"));\r\n\t\t\t\t});\r\n\t\t\t\t_form.find(\"input[vt]\").each(function(){\r\n var e = $dexQuery(this);\r\n e.attr('cff-val-bk', e.val()).val(e.attr(\"vt\"));\r\n\t\t\t\t});\r\n\t\t\t\t_form.find('.cpcff-recordset,.cff-exclude :input,[id^=\"form_structure_\"]')\r\n\t\t\t\t.add(_form.find( '.ignore' )).attr('cff-disabled', 1).prop('disabled', true);\r\n\t\t\t\tdisabling_form();\r\n\t\t\t\tif ( _form.attr( 'target' ) != undefined && NOT( IN( _form.attr( 'target' ).toLowerCase(), [ '_blank', '_self', '_top', '' ] ) ) ) {\r\n\t\t\t\t\t$dexQuery('[name=\"'+_form.prop( 'target' )+'\"]').one('load', function(){\r\n\t\t\t\t\t\t_form.find('[cff-val-bk]').each(function(){\r\n\t\t\t\t\t\t\tvar e = $dexQuery(this);\r\n\t\t\t\t\t\t\te.val(e.attr('cff-val-bk')).removeAttr('cff-val-bk');\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t_form.find('[cff-disabled]').prop('disabled', false).removeAttr('cff-disabled');\r\n\t\t\t\t\t\tif(!\/^(\\s*|_self|_top|_parent)$\/i.test(_form.prop('target'))) {\r\n\t\t\t\t\t\t\tenabling_form();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$dexQuery(document).trigger('cff-form-submitted', _form);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n _form[ 0 ].submit();\r\n\t\t\t};\r\n\t\t_form.find('[name=\"cp_ref_page\"]').val(document.location.href);\r\n\t\tvalidation_rules['fields_validation_error'] = (cpefb_error==0);\r\n \/* 1: Do not submit if the equations are being evaluated *\/\r\n validation_rules['no_pending'] = (!(form_identifier in $dexQuery.fbuilder.calculator.processing_queue) || !$dexQuery.fbuilder.calculator.processing_queue[form_identifier]) && !$dexQuery.fbuilder.calculator.thereIsPending(form_identifier);\r\n\t\tif(!validation_rules['no_pending'])\r\n\t\t{\r\n\t\t\t$dexQuery(document).on('equationsQueueEmpty', function(evt, formId){\r\n\t\t\t\tif(formId == form_identifier)\r\n\t\t\t\t{\r\n\t\t\t\t\t$dexQuery(document).off('equationsQueueEmpty');\r\n\t\t\t\t\tvalidation_rules['no_pending'] = true;\r\n\t\t\t\t\tprocessing_form();\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\t\/* End :1 *\/\r\n\t\tif (validation_rules['fields_validation_error'])\r\n\t\t{\r\n\t\t\t\t\tprocessing_form();\r\n\t\t\t\t}\r\n\t\telse\r\n\t\t{\r\n _form.valid();\r\n var page = $dexQuery('.cpefb_error:not(.message):not(.ignore):eq(0)').closest('.pbreak').attr('page')*1;\r\n gotopage(page, _form);\r\n\t\t\t$dexQuery(form).trigger('cff-form-validation', false);\r\n\t\t\tenabling_form();\r\n\t\t\t$dexQuery( '.cff-error-dlg' ).remove();\r\n\t\t\t$dexQuery( document ).off('click', $dexQuery.fbuilder.closeErrorDlg);\r\n\t\t\tsetTimeout(function(){ $dexQuery( document ).on('click', $dexQuery.fbuilder.closeErrorDlg); }, 500);\r\n\t\t\ttry {\r\n\t\t\t\tlet errorList = _form.validate().errorList,\r\n\t\t\t\t\tmssg = [];\r\n\t\t\t\terrorList.forEach( (e) => {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tlet aux = function(v){\r\n\t\t\t\t\t\t\t\treturn $dexQuery( '<div><\/div>' ).html(v).text();\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tl = getField( e.element.name.match(\/fieldname\\d+_\\d+\/)[0] ).title;\r\n\t\t\t\t\t\tl = aux(l).replace(\/\\:\\s*$\/, '');\r\n\t\t\t\t\t\tl = '<b>'+(l.length ? l+': ' : '')+'<\/b>'+aux(e.message);\r\n\t\t\t\t\t\tmssg.push( l );\r\n\t\t\t\t\t} catch(err){}\r\n\t\t\t\t} );\r\n\t\t\t\tif ( mssg.length ) {\r\n\t\t\t\t\t$dexQuery( 'body' ).append( '<div class=\"cff-error-dlg\">'+mssg.join('<br>')+'<\/div>' );\r\n\t\t\t\t}\r\n\t\t\t} catch ( err ) {}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\t<\/script><\/pre>\r\n\t<form name=\"cp_calculatedfieldsf_pform_1\" id=\"cp_calculatedfieldsf_pform_1\" action=\"http:\/\/chicagotyagarajautsavam.org\/?p=8805\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return doValidate_1(this);\" class=\"cff-form \" data-nonce=\"3cf079b789\">\r\n\t\t\t<input type=\"hidden\" name=\"cp_calculatedfieldsf_pform_psequence\" value=\"_1\" \/><input type=\"hidden\" name=\"cp_calculatedfieldsf_pform_process\" value=\"1\" \/><input type=\"hidden\" name=\"cp_calculatedfieldsf_id\" value=\"25\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"http:\/\/chicagotyagarajautsavam.org\" \/><pre style=\"display:none !important;\"><script type=\"text\/javascript\">form_structure_1=[[{\"form_identifier\":\"\",\"name\":\"fieldname1\",\"shortlabel\":\"\",\"index\":0,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"First Name\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname47\",\"shortlabel\":\"\",\"index\":1,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Last Name\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname48\",\"shortlabel\":\"\",\"index\":2,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Street\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname49\",\"shortlabel\":\"\",\"index\":3,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"City\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname50\",\"shortlabel\":\"\",\"index\":4,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"State\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname51\",\"shortlabel\":\"\",\"index\":5,\"ftype\":\"ftext\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Zip\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"minlength\":\"\",\"maxlength\":\"\",\"equalTo\":\"\",\"regExp\":\"\",\"regExpMssg\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname2\",\"shortlabel\":\"\",\"index\":6,\"ftype\":\"femail\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Email\",\"predefined\":\"\",\"predefinedClick\":false,\"required\":true,\"size\":\"medium\",\"equalTo\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname5\",\"shortlabel\":\"\",\"index\":7,\"ftype\":\"fPhone\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Phone\",\"required\":true,\"dformat\":\"### ### ####\",\"predefined\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"form_identifier\":\"\",\"name\":\"fieldname11\",\"shortlabel\":\"\",\"index\":8,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"userhelpTooltip\":false,\"csslayout\":\"\",\"title\":\"Total $\",\"predefined\":\"\",\"required\":false,\"size\":\"medium\",\"toolbar\":\"default|mathematical\",\"eq\":\"50\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\".\",\"groupingsymbol\":\"\",\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"readonly\":true,\"hidefield\":false,\"optimizeEq\":true,\"eq_factored\":\"(25)\",\"fBuild\":{},\"parent\":\"\"}],{\"0\":{\"title\":\"\\u003Cstrong\\u003E2017 Competition payments\\u003C\\\/strong\\u003E\\u003Cbr\\u003E\\u003Cbr\\u003E\",\"description\":\"Please enter the details for the Contestant. \\u003Cstrong\\u003E$50 per Contestant\\u003C\\\/strong\\u003E\\n\\u003Cbr\\u003E\\u003Cbr\\u003E\\nPlease \\u003Cstrong\\u003Eturn off Auto-fill settings\\u003C\\\/strong\\u003E in your browser before entering the values. \\u003Cbr\\u003E\\u003Cbr\\u003EPlease \\u003Cstrong\\u003Ereview the values\\u003C\\\/strong\\u003E entered before clicking the Submit button.\\u003Cbr\\u003E\\u003Cbr\\u003E\",\"formlayout\":\"left_aligned\",\"formtemplate\":\"cp_cff_natural\",\"evalequations\":1,\"autocomplete\":1},\"formid\":\"cp_calculatedfieldsf_pform_1\",\"setCache\":false,\"cache\":false}];<\/script><\/pre>\r\n\t\t<div id=\"fbuilder\">\r\n\t\t\t\t\t\t<div id=\"fbuilder_1\">\r\n\t\t\t\t<div id=\"formheader_1\"><\/div>\r\n\t\t\t\t<div id=\"fieldlist_1\"><\/div>\r\n <div class=\"clearer\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\" style=\"display:none;\">\r\n\t\t\t \t\t\t<div class=\"fields\" id=\"field-c0\" style=\"display:none\">\r\n\t\t\t\t<label>Payment options<\/label>\r\n\t\t\t\t<div class=\"dfield\">\r\n\t\t\t\t <div><input type=\"radio\" name=\"bccf_payment_option_paypal\" vt=\"1\" value=\"1\" checked> Pay with PayPal.<\/div>\t\t\t\t <!--addons-payment-options-->\r\n \t\t\t \t\t\t\t<\/div>\r\n\t\t\t\t<div class=\"clearer\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<!--addons-payment-fields-->\r\n\t\t\t\t\t\t<!--add-ons-->\r\n\t\t\t<\/div>\r\n\t\t\t\t\t\t<div id=\"cp_subbtn_1\" class=\"cp_subbtn\" style=\"display:none;\">Check Out<\/div>\r\n\t\t\t\t\t\t<div class=\"clearer\"><\/div>\r\n\t\t<\/div>\r\n\t<input type=\"hidden\" id=\"_cpcff_public_nonce\" name=\"_cpcff_public_nonce\" value=\"7977b1e118\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fposts%2F8805\" \/> <\/form>\r\n<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/posts\/8805"}],"collection":[{"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8805"}],"version-history":[{"count":2,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/posts\/8805\/revisions"}],"predecessor-version":[{"id":8890,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=\/wp\/v2\/posts\/8805\/revisions\/8890"}],"wp:attachment":[{"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8805"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chicagotyagarajautsavam.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}