Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Making custom checkbox already ticked in registration form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2005, 01:58 AM
 
DavidMason DavidMason is offline
 

Member
  
Join Date: Mar 2005
Posts: 21
 

Default Making custom checkbox already ticked in registration form

Hi,

I have just added some custom check boxes in my customer registration form, but I would like to have them pre-populated as checked rather than unchecked, does anybody know how to do this? I couldn't see the option in the administration panel

Any help would be greatly appreciated.
__________________
Gold Version 4.0.17 [unix]
Reply With Quote
  #2  
Old 04-14-2005, 02:26 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

Hello,

This will require you to edit the template wherever your custom checkboxes will appear. To have them pre-checked use code similar to this:
Code:
<INPUT TYPE="checkbox" NAME="CheckboxOne" CHECKED>CheckBox Text
where NAME = the name of your checkbox field and "Checkbox Text" is whatever text you use to describe the checkbox option
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #3  
Old 04-14-2005, 04:27 AM
 
Bella Forma Bella Forma is offline
 

Senior Member
  
Join Date: Nov 2004
Location: Australia
Posts: 150
 

Default

You might find this post helpful

http://forum.x-cart.com/viewtopic.php?t=12651&start=45&postdays=0&postorde r=asc&highlight=
__________________
X-Cart Gold 4.0.12
X-AOM, X-RMA, X-FancyCat
Apache/Linux Server
PHP 4.3.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:32 PM.

   

 
X-Cart forums © 2001-2020