Developer forum

Forum » Development » Newsletter v3: Disable category checkboxes

Newsletter v3: Disable category checkboxes


Reply
 I'm working on a Newsletter subscribe page, where I want the newsletter category to be pre-selected. 

I'v tried getting the name input name DW generates and hardcoding the following in the module template:

<input name="Category_261" type="checkbox" selected="selected" style="display:none;">

This does not seem to work. The webmaster now receives subscription emails without a chosen category. How do I pre-select the category for the subscription while still hiding the input checkbox?


Replies

 
Nicolai Høeg Pedersen
Reply
Checkboxes need checked and not selected attribute set
<input name="Category_261" type="checkbox" checked="checked" style="display:none;">
 
Reply
Wow.. rooky mistake :)

I'll try it out, thanks.
 
Nicolai Høeg Pedersen
Reply
Just come by Åhavevej - I'll show you how the font tag works :)

 

You must be logged in to post in the forum