PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Validate from and to dates

  1. dgpreston
    Member

    Is it possible to be able to enter 'from' and 'to' dates and validate that the 'to' date is after the 'from' date?

    Posted 12 years ago on Friday July 1, 2011 | Permalink
  2. Currently this isn't a built in feature. It is possible, but it would require a customization using the gform_validation hook. You would have to write custom validation that checks the values and if returns an error based on your custom PHP to validate those fields.

    There is a tutorial on how to use the gform_validation hook here:

    http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook

    Posted 12 years ago on Friday July 1, 2011 | Permalink

This topic has been resolved and has been closed to new replies.