Jump to content

Checkbox not checked


Recommended Posts

Hallo,

can you please have a look at my code and tell me if youb have an idea why my checkbox isn't checked?



               <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
{l s='Sign up now for our monthly newsletter and receive à voucher of CHF 20.00!'}



Thanks a lot!


Silki

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...