Codeigniter validating dates

There are many rules available in the Code Igniter, which are described below.

[eluser]Key Stroke[/eluser] Hi, I was wondering, is there any simple way I could validate a date using the form_validation library?

After entering the name successfully, you will be redirected to the screen as shown below.

In the above example, we have used the required rule setting.

Since you haven’t told the Form Validation class to validate anything yet, it returns FALSE (boolean false) by default.