I'm trying to add "accept terms" button to oders form. I found advise for that by ZSiGO in topic 1129. I'm using QC 1.4. Where should I add the scripts, there is not head.tpl in 1.4 ver ? Do these scripts work in QC 1.4 ?
Add the below script to the <HEAD> section of head.tpl
<script>
//"Accept terms" form submission- By Dynamic Drive //For full source code and more DHTML scripts, visit http://www.dynamicdrive.com //This credit MUST stay intact for use
var checkobj
function agreesubmit(el){ checkobj=el if (document.all||document.getElementById){ for (i=0;i<checkobj.form.length;i++){ //hunt down submit button var tempobj=checkobj.form.elements[i] if(tempobj.type.toLowerCase()=="submit") tempobj.disabled=!checkobj.checked