Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 checkboxes ""checked" by default
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dagodewerd
Starting Member

6 Posts

Posted - 06 June 2001 :  09:47:27  Show Profile
In the reply form, I want to have the checkbox "Check here to be notified by email whenever someone replies to your topic." checked by default and the "Check here to include your profile signature" unchecked by default. Anyone a clue?
Thanks, Dago

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 06 June 2001 :  10:00:21  Show Profile
Make sure you write:

checked

where you want the checkbox checked as default.

Example:

<input name="Sig" type="checkbox" value="yes" checked>Check here to include your profile signature.



Edited by - wii on 06 June 2001 10:00:50
Go to Top of Page

dagodewerd
Starting Member

6 Posts

Posted - 06 June 2001 :  10:10:18  Show Profile
Yes, that's what I thought. Now, how to fit that into the code in post.asp : <input name="rmail" type="checkbox" value="1" <%=Chked(boolTopic)%>>Check here to be notified by email whenever someone replies to your topic.<br>
</font>

Thanks



Edited by - dagodewerd on 06 June 2001 10:10:45
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 06 June 2001 :  10:22:22  Show Profile
<input name="rmail" type="checkbox" value="1" checked<%=Chked(boolTopic)%>>Check here to be notified by email whenever someone replies to your topic.<br>
</font>

-----

but is this a good idea? I would think it should be peoples own choice to be notified or not?!

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 June 2001 :  12:53:59  Show Profile
Take out the Chked function:
<input name="rmail" type="checkbox" value="1" checked <%=Chked(boolTopic)%>>Check here to be notified by email whenever someone replies to your topic.<br></font>
And I agree with wii. You should let the users choose if they want this option on or not.

Go to Top of Page

dagodewerd
Starting Member

6 Posts

Posted - 06 June 2001 :  12:54:11  Show Profile
Thanks, yes it is that simple.
The email notification check-box is a reminder and, as such, it is easy to receive an email instead of going back to check time after time. Besides, everyone is free to uncheck the box.
Dago

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 06 June 2001 :  12:56:03  Show Profile
And for the signatrue checkbox, just take out the "checked" out of the <input> field. It will stay "unchecked" by default.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07