X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Making custom checkbox already ticked in registration form (https://forum.x-cart.com/showthread.php?t=13415)

DavidMason 04-14-2005 01:58 AM

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.

hooter 04-14-2005 02:26 AM

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

Bella Forma 04-14-2005 04:27 AM

You might find this post helpful

http://forum.x-cart.com/viewtopic.php?t=12651&start=45&postdays=0&postorde r=asc&highlight=


All times are GMT -8. The time now is 10:56 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.