Title: get_field in validation pattern
Last modified: August 22, 2016

---

# get_field in validation pattern

 *  Resolved [craggy007](https://wordpress.org/support/users/craggy007/)
 * (@craggy007)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/get_field-in-validation-pattern/)
 * How can i get the field value of a field to a another field in validation pattern?,
   im comparing two date for event duration.
 * thanks!
 * [https://wordpress.org/plugins/validated-field-for-acf/](https://wordpress.org/plugins/validated-field-for-acf/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/get_field-in-validation-pattern/#post-5298444)
 * Hoping to get this into the new version for ACF 5, but focusing on the core functionality
   right now. I haven’t tested anything, but you might want to check out the `$_REQUEST['
   fields']` values – this is what is passed into the AJAX request and will contain
   the field values. It might take a bit of work to determine what is what based
   on the data there but it does link back to the meta fields.
 *  Plugin Author [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * (@doublesharp)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/get_field-in-validation-pattern/#post-5298507)
 * Hi [@craggy007](https://wordpress.org/support/users/craggy007/),
 * Check out the beta version posted in the first support thread – it provides access
   to the rest of the input values using an array called `$inputs`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘get_field in validation pattern’ is closed to new replies.

 * ![](https://ps.w.org/validated-field-for-acf/assets/icon-256x256.png?rev=1116693)
 * [Advanced Custom Fields: Validated Field](https://wordpress.org/plugins/validated-field-for-acf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/validated-field-for-acf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/validated-field-for-acf/)
 * [Active Topics](https://wordpress.org/support/plugin/validated-field-for-acf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/validated-field-for-acf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/validated-field-for-acf/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [doublesharp](https://wordpress.org/support/users/doublesharp/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/get_field-in-validation-pattern/#post-5298507)
 * Status: resolved