how to use form validation to compare date? - if not possible accept a parallel solution. |
[eluser]Spectruman[/eluser]
[quote author="Kamarg" date="1271455255"]Callback functions as explained in the user guide seem to be just what you're looking for.[/quote] understand the function, the problem is how to pass all parameters to the function you want. For the tutorial I call only for item validation. as in the example: Code: $ this-> form_validation->set_rules('username', 'Username', 'callback_username_check'); Code: $ This-> form_validation->set_rules('dateStart', 'Start Date', 'trim|required|callback_compareDataTime'); |
Messages In This Thread |
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-16-2010, 07:18 AM
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-16-2010, 11:00 AM
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-16-2010, 11:52 AM
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-19-2010, 07:08 AM
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-19-2010, 07:38 AM
how to use form validation to compare date? - if not possible accept a parallel solution. - by El Forum - 04-19-2010, 03:12 PM
|