[support] Re: [development] subscriptions
Lists
listout at accidentaltechie.org
Wed Apr 5 13:33:58 UTC 2006
"VJ Rao" wrote:
>
> The functionality Im looking for is , when a new user account is created
> ..auto subscribe is checked by default. But ofcourse, since we are giving him
> an option to uncheck it..it should remain unchecked once he unchecks it.
>
> This is why I wanted to know which database table column stores this
> information.
VJ, it sounds like you just want the _form item_ to be checked upon
presentation of the form, and then the user will either "opt-out" or not.
In that case, you can simply change the HTML that displays the form under
consideration. This would _visually_ make the box checked upon display, and
if it remained checked, then it would be submitted as a subscription.
The HTML <input> element for type 'checkbox' can take 'checked' value.
Here is a comparison:
Checkbox input type that is not checked:
<input name="someWidget" type="checkbox" value="Subscribe">
Checkbox input type that is checked:
<input name="someWidget" type="checkbox" value="Subscribe" checked>
--
Gary
More information about the support
mailing list