<select> tags don't have a value attribute. You will need to add a selected attribute to the child <option> tags.
On Wed, 2005-02-16 at 16:43, Sarah Peeke (XERT) wrote: > Hi Folks > > Have a validation error (this link over *two* lines): > <http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.xert.org%2F&warnings=yes&spider= > yes&hidevalid=yes> > > on this page of my site: > <http://www.xert.org/contact/index.php?formtype=personal&submit=Display+Form> > > I am using php to check user input and therefore require a "value" in the > form fields (eg > value="<?php echo $newDate ?>"). Obviously, $newDate has a null value until a > user enters one. > > So I get the following error: > "Error: there is no attribute value for this element (in this HTML version)" > > Can anyone suggest a work around to this, or perhaps suggest what I'm doing > wrong. > > Thanks in advance, and hope this is on topic. > Sarah :) -- Bruce Morrison designIT http://www.designit.com.au ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************