View Full Version : If coming from a specified page, then place check in checkbox

03-31-2004, 07:09 PM
Is this possible using php? I have a contact form that allows users to request info for four different products, each of which have a checkbox so that the user can get info on product 1 only, or products 3 and 4, you get the point..

How is it possible to populate the checkbox for product one on the request page, for instance, if they were on the product one details page. Does this make sense?

Here's one of the checkbox inputs if that helps:

<input class="prodchex" type="checkbox" name="01" value="candles">



03-31-2004, 07:17 PM
<input class="prodchex" type="checkbox" name="01" value="candles" <?php
echo" checked";
?> >

03-31-2004, 07:50 PM
Like a charm, thanks!! :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum