Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Validate two fields in my fuel module

edited February 2011 in Modules

I have a little problem. I have a fuel module with two datetimes fields. The fields are: "date_start" and "date_end". I wish check that "date_end" is greater than or equal that "date_start". I think that I must do with the "on_before_validate" hook and add a validation with "add_validation", but I am trying but I can not do it. Can you help me please?

Thank you.


  • edited 2:38AM
    Hello, I have fix my problem, I have look for in the "validator_helper" and I found a function that solved my problem.

Sign In or Register to comment.