{"id":1317,"date":"2025-10-18T18:34:28","date_gmt":"2025-10-19T00:34:28","guid":{"rendered":"https:\/\/chopili.com\/?page_id=1317"},"modified":"2025-10-18T18:34:29","modified_gmt":"2025-10-19T00:34:29","slug":"tup","status":"publish","type":"page","link":"https:\/\/chopili.com\/index.php\/tup\/","title":{"rendered":"Testing_upload_page"},"content":{"rendered":"\n<p><a href=\"https:\/\/chopili.com\/?cff-form=29\" target=\"_blank\" rel=\"noreferrer noopener\"><style>@media (max-width:480px){#cp_calculatedfieldsf_pform_1{min-height:306px;}}@media (min-width:1024px){#cp_calculatedfieldsf_pform_1{min-height:306px;}}<\/style>\t<pre style=\"display:none !important;\"><script data-category=\"functional\" 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').prop('disabled', false);\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,:submit').addClass('submitbtn-disabled').prop('disabled', true);\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.find('[max=\"\"]').removeAttr('max');\r\n\t\t_form.find('[min=\"\"]').removeAttr('min');\r\n\t\t_form.find('[step=\"\"]').removeAttr('step');\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\t\tif( typeof _form != 'undefined' ) {\n\t\t\t\t\t\tif ( typeof validation_rules != 'undefined' ) {\n\t\t\t\t\t\t\tif ( _form.data('cff-spreadsheet-in-progress') )\n\t\t\t\t\t\t\t\tvalidation_rules[\"spreadheet-calculated-fields-form-20240619\"] = false;\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tdelete validation_rules[\"spreadheet-calculated-fields-form-20240619\"];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\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(cff_sanitize(e.attr(\"vt\"), true));\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\t\t\t\t\t\tq = $dexQuery('[id=\"'+e.attr('id')+'_quantity\"]');\r\n                    e.attr('cff-val-bk', e.val()).val(cff_sanitize(e.attr(\"vt\"), true)+(q.length ? ' ('+Math.max(1, q.val())+')' : ''));\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\t\t\t\t\tif ( _form.attr( 'target' ) == undefined && window.self !== window.top ) {\r\n\t\t\t\t\t_form.attr( 'target', '_top' );\r\n\t\t\t\t}\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                if('nativeSubmit' in _form[ 0 ]) _form[ 0 ].nativeSubmit();\r\n\t\t\t\telse _form[ 0 ].submit();\r\n\t\t\t};\r\n\t\ttry{\r\n\t\t\t_form.find('[name=\"cp_ref_page\"]').val(parent.window.document.location.href);\r\n\t\t} catch (err) {\r\n\t\t\t_form.find('[name=\"cp_ref_page\"]').val(document.location.href);\r\n\t\t}\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\tsetTimeout(function(){$dexQuery.fbuilder.openErrorDlg(_form);},50);\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=\"https:\/\/chopili.com\/index.php\/tup\/\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return doValidate_1(this);\" class=\"cff-form no-prefetch  cff-form-29 cp_cff_13\"  dir=\"ltr\" data-nonce=\"fea43f7e9b\">\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=\"29\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"https:\/\/chopili.com\" \/><pre style=\"display:none !important;\"><script data-category=\"functional\" type=\"text\/javascript\">form_structure_1=[[{\"form_identifier\":\"\",\"name\":\"fieldname3\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":0,\"ftype\":\"ffile\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"hidefield\":false,\"advanced\":{\"css\":{\"container\":{\"label\":\"Field container div tag\",\"rules\":{}},\"label\":{\"label\":\"Field label\",\"rules\":{}},\"help\":{\"label\":\"Instructions for users\",\"rules\":{}},\"file\":{\"label\":\"File field\",\"rules\":{}},\"thumbnail\":{\"label\":\"Thumbnail image\",\"rules\":{}}}},\"title\":\"Suba su archivo:\",\"required\":true,\"exclude\":false,\"size\":\"medium\",\"accept\":\"txt\",\"upload_size\":\"10000\",\"multiple\":false,\"preview\":false,\"thumb_width\":\"80px\",\"thumb_height\":\"\",\"fBuild\":{},\"parent\":\"\"},{\"dependencies\":[{\"rule\":\"\",\"complex\":false,\"fields\":[\"\"]}],\"form_identifier\":\"\",\"name\":\"fieldname4\",\"fieldlayout\":\"default\",\"shortlabel\":\"\",\"index\":1,\"ftype\":\"fCalculated\",\"userhelp\":\"\",\"audiotutorial\":\"\",\"userhelpTooltip\":false,\"tooltipIcon\":false,\"csslayout\":\"\",\"hidefield\":false,\"advanced\":{\"css\":{\"container\":{\"label\":\"Field container div tag\",\"rules\":{}},\"label\":{\"label\":\"Field label\",\"rules\":{}},\"input\":{\"label\":\"Calculated field\",\"rules\":{}},\"help\":{\"label\":\"Instructions for users\",\"rules\":{}}}},\"title\":\"nombre de archivo\",\"_developerNotes\":\"\",\"predefined\":\"\",\"required\":false,\"exclude\":false,\"accept_html\":false,\"size\":\"medium\",\"eq\":\"(function(){\\ncc = fieldname3 ;\\n\\nreturn cc \\n\\n\\n})()\",\"min\":\"\",\"max\":\"\",\"suffix\":\"\",\"prefix\":\"\",\"decimalsymbol\":\".\",\"groupingsymbol\":\"\",\"readonly\":true,\"currency\":false,\"noEvalIfManual\":true,\"formatDynamically\":false,\"dynamicEval\":true,\"validate\":false,\"fBuild\":{},\"parent\":\"\"}],{\"0\":{\"title\":\"Calculated Form\",\"titletag\":\"H2\",\"textalign\":\"default\",\"headertextcolor\":\"\",\"description\":\"Starting form. Basic calculated fields sample. \",\"formlayout\":\"top_aligned\",\"formtemplate\":\"cp_cff_13\",\"evalequations\":1,\"evalequations_delay\":0,\"evalequationsevent\":2,\"direction\":\"ltr\",\"loading_animation\":0,\"autocomplete\":1,\"persistence\":0,\"animate_form\":0,\"animation_effect\":\"fade\",\"customstyles\":\"\",\"request_cost\":\"fieldname4\",\"advanced\":{\"css\":{}}},\"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 \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;\">Submit<\/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=\"7d10d944db\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/1317\" \/><input type=\"hidden\" name=\"cff_form_start_time\" value=\"gu1V4crbDsd0i\/AxOz08QA==\">\t<\/form>\r\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"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":""},"folder":[53],"class_list":["post-1317","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/pages\/1317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/comments?post=1317"}],"version-history":[{"count":1,"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/pages\/1317\/revisions"}],"predecessor-version":[{"id":1318,"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/pages\/1317\/revisions\/1318"}],"wp:attachment":[{"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/media?parent=1317"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/chopili.com\/index.php\/wp-json\/wp\/v2\/folder?post=1317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}