As already mentioned this is client side stuff (i.e. Javascript, or dare I say it... VBScript ;).
But as a pointer... JAVASCRIPT: function ShowHide(checkBox, txtBox) { if (checkBox.checked) { txtBox.disabled = true; } else { txtBox.disabled = false; } } HTML: <input type="checkbox" name="selector" value="1" onclick="ShowHide(this, txtName)"> <input type="text" name="txtName"> Cheers Mike -- Michael Power Software Developer Concentrix Limited _______________________________________ Helping you strengthen your customer relationships To find out more about how we can help you visit our website http://www.concentrix.co.uk The Technology Centre, Epinal Way, Loughborough, Leicestershire, LE11 3GE T: +44 (0)1509 235000 F: +44 (0)1509 221740 _______________________________________ "Edward David" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I am trying to create a form that has checkboxes displayed. > If the box is checked then show below the checkbox input items related to > the parent checkbox. > If the user has not entered his name then do not display the submit button. > Can this be done using PHP 4.3.1 under Windows and IIS. > > Pls. help. Thanks. > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php