View Single Post
  #51  
Old 11-01-2006, 02:11 PM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Exclamation Re: Must "Accept terms" before submitting the order

Probally a real easy one for someone, i have a java script error when installing the mod "must_accept_terms.zip". I am following the 4.1 instruction and the error code states the error lies at the following:

Line 18
Char 12
Expected '/"
Code 0

How i have entered it is from below and line 18 is {/literal}, any ideas ?


{capture name=dialog}
<script type="text/javascript">
{literal}
//"Accept terms" form submission- By Dynamic Drive
var checkobj
function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
for (i=0;i<checkobj.form.length;i++){
var tempobj=checkobj.form.elements[i]
if(tempobj.type.toLowerCase()=="button")
tempobj.disabled=!checkobj.checked
}}}
{/literal}
</script>
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote