|
Posted by "Sue" on 01/03/06 22:41
Hello -
I need to create a form that allows the user to select a Month, Day and
Year. I am also new to PHP and am wondering if there is a way for me to
display the contents of the Select list box (for the Day) based on the Month
that is selected (and Year), so that the valid number of days for the month
(& year?) displays. For all of our other forms, we use CGI to handle our
standard forms validation, and was hoping to handle more complex validation
within PHP prior to sending the entire contents of my form to our standard
CGI validation routine. I know that I could use the Checkdate function once
the entire date is selected, but thought there might be an easier/more
efficient way of handling this and also not sure how to reference Checkdate
prior to Submitting my form to the CGI routine. I also was not sure if this
was something that is handled easier using Javascript? Any help/examples,
etc. would be greatly appreciated!
Thanks!!
Sue
Navigation:
[Reply to this message]
|