i want to automatically check the box on page load. i looked at the html and it appears to already be set to do that. however on the site this does not show is there any reason why this line should not check the box <input type="checkbox" id="AGREERULES" name="AGREERULES"{if $agreerules eq 'on'} checked="checked" {/if} /> i appreciate your help
all i can see that could be wrong is maybe there's something wrong with whatever's meant to be setting $agreerules to 'on', the HTML itself is fine.
To save yourself some time, if you are absolutely positive that you want the checkbox always checked by default, simply remove the IF conditional bits from the code, and make it look like <input type="checkbox" id="AGREERULES" name="AGREERULES" checked="checked" /> Code (markup):