If you want to do it from PHP, then the forms will have to be seperate (PHP is 
server side...) You assign a value to a checkbox, then in the page you submit 
to, use something like

if ( $_POST[$checkbox_name] == "checked_value" )

On Tuesday 25 June 2002 10:30 am, M.E. Suliman wrote:
> Hi
> I'm busy with an order form in php.  How would I display a text field only
> if a checkbox is checked.  The reason for this is that if the user selects
> the product in the form and, how would I get to display the quantity field
> corresponding to that checkbox
> Any help would be appreciated.
> Thanks
> Mohamed

To Believe without evidence and demonstration is an act of ignorance and 


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to