Does anyone know how to create a check box with Actinic. I don't want to use list box, push button or radio button, I would like to use a checkbox. Is anyone aware of how this can be achieved?
If you have the Advanced Users Guide (Downloadable here ), look on page 62 for the following bit...
Turning a Text Field into a Check Box
This is a neat trick that will turn any text field in the checkout into a check box. This will extend the ability of your Actinic store to take different types of information, and the responses will still look meaningful in the printed reports.
This example is based on the 'User Definable' field in the 'Invoice Address' part of the checkout.
Open 'Act_Order01.html' and locate the following code in the template:
<input type="TEXT" name="INVOICEUSERDEFINED" size="20" maxlength="255" value="NETQUOTEVAR:INVOICEUSERDEFINED">
This is the code for the user defined field, and by default it is a text field. Change the above code to read:
This will turn the text field into a check box. This will stay checked if a customer leaves the invoice address page and then re-enters it for any reason. The value that will appear in the order processing reports to indicate whether the customer ticked the box is the word 'CHECKED'.
Comment