View Full Version : custom profile field
Sebastian
02-06-2004, 06:22 PM
its sad vb doesn't allow you to specify if a check box is selected or not. anyone know how to make this possible?
bascially i have a single checkbox, checked means Yes, Unchecked means No.. but i need to make this box checked by default when the users registers...
also, Does anyone know of a conditional to use in postbit template to hide the reply button when the thread is closed?
Zachery
02-06-2004, 06:24 PM
its sad vb doesn't allow you to specify if a check box is selected or not. anyone know how to make this possible?
bascially i have a single checkbox, checked means Yes, Unchecked means No.. but i need to make this box checked by default when the users registers...
also, Does anyone know of a conditional to use in postbit template to hide the reply button when the thread is closed?
Why not use a drop down instead?
Sebastian
02-06-2004, 06:30 PM
well, then i would have to add a "yes" and "no" option.. i only want 1 button to serve as a Yes/No... Yes if checked and No if unchecked.
see attached image... 'no banner ads' just like the other options.. one button. there are options in admin cp to make the other options checked by default , but not for custom check box. :(
Zachery
02-06-2004, 06:40 PM
well, then i would have to add a "yes" and "no" option.. i only want 1 button to serve as a Yes/No... Yes if checked and No if unchecked.
see attached image... 'no banner ads' just like the other options.. one button. there are options in admin cp to make the other options checked by default , but not for custom check box. :(
Well you could use a drop down, or reverse your logic (click here to SHOW ad's), you should also make a comment about this at vBulletin.com :)
Vigile
02-07-2004, 10:50 AM
its sad vb doesn't allow you to specify if a check box is selected or not. anyone know how to make this possible?
bascially i have a single checkbox, checked means Yes, Unchecked means No.. but i need to make this box checked by default when the users registers...
also, Does anyone know of a conditional to use in postbit template to hide the reply button when the thread is closed?
IIRC, adding checked="checked" will make the box be checked by default. I dont know how you have it hardwired in your forums and I dont know for sure this is what you are looking for but here's an example:
<input type="checkbox" name="receipt" id="cb_receipt" tabindex="1" value="1" checked="checked"/>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.