Re: [PHP] complex if statement for field validation

2010-06-07 Thread Jim Lucas
David Mehler wrote: > Hello, > I've got a form with three fields that are not required for proper > completion of it, ending month, day, year fields. If a user enters > nothing no problem, but if those form fields are entered I need them > validated. They have to be in the correct format -MM-DD

Re: [PHP] complex if statement for field validation

2010-06-07 Thread Ashley Sheridan
On Mon, 2010-06-07 at 16:51 -0400, David Mehler wrote: > Hello, > I've got a form with three fields that are not required for proper > completion of it, ending month, day, year fields. If a user enters > nothing no problem, but if those form fields are entered I need them > validated. They have to

[PHP] complex if statement for field validation

2010-06-07 Thread David Mehler
Hello, I've got a form with three fields that are not required for proper completion of it, ending month, day, year fields. If a user enters nothing no problem, but if those form fields are entered I need them validated. They have to be in the correct format -MM-DD date format and that value al