Here is the code,it is basically for my registration page and i want to add that uiser needs to accept my T & C before proceeding but something i am doing wrong, no matter if i add this code in php or in html format, see the bolded part of the code:
<div class="col2">
<h3 class="heading"><?php __('Already a Member?');?></h3>
<p><?php echo sprintf(__('If so you may want to %s now.', true), $html->link(__('login', true), array('action'=>'login')));?></p>
<h3><?php __('Forgotten Your Password?');?></h3>
<p><?php echo sprintf(__('Click here to %s.', true), $html->link(__('reset your password', true), array('action'=>'reset')));?>
</p>
</div>
</div>
and here is the <head> part of this small scipt:
Quote :
<script type="text/javascript">
<!--
function checkCheckBox(f){
if (f.agree.checked == false )
{
alert("Please tick the box to continue" );
return false;
}else
return true;
}
//-->
</script>