Developer forum

Forum » Templates » Checked checkbox in form for editors.

Checked checkbox in form for editors.

Lise T. Pedersen
Reply

I have a checkbox, which is signing the user up for newsletters. And I would like it to be checked from the start, so that the user must "uncheck" it.

I have tried to create an "overwrite" as described in the documentation - http://doc.dynamicweb.com/documentation-9/content/apps/forms-for-editors#sideNavTitle1-3-4

and it looks like this:

<input type="hidden" name="checkboxNyhedsbrev" value="true">

Not working. I have also tried checked="checked. Not working either.

I hope to get a "hint" for the right solution for this?

/Lise

 

 

 


Replies

 
Nicolai Pedersen
Reply

Hi Lise

You have set the default value in the backend to "true". Try not setting the default value - the checkox should be checked then.

BR Nicolai

 

You must be logged in to post in the forum