• Go to Formidable Forms Official Site
  •  Login
  •  

Log In

Forgot Password

Search

Formidable Forms Community Site

jeremypautz

Compare new and old field values on form submit

I've made a booking inquiry form on a client's site that includes a date field. I'd like to compare the newly submitted date value to the values in all older entries from the form and send a notification email to the client if the date is a duplicate. I've gotten this to work with CPT postmeta, but Formidable entries seem to work differently. I can't use form validation because I don't want to prevent the form from being submitted Is there a way to access the entries as a collection of objects (like WP_Query) or arrays? The Formidable shortcode function "get_form_results" would be perfect if it didn't package the entries in HTML, so if there's a native function/method I've missed, I'll happily use it. I'd prefer to avoid direct DB queries, but if that's the only way, I'll deal with it. Thanks!

Navigation

  • Privacy Policy
  • Formidable Forms for WordPress

Discussions

  • An add-on
  • Creating posts/pages
  • Emails
  • Entries
  • Filter & Action Hooks
  • Forms
  • Getting Started
  • Importing/Exporting
  • Javascript
  • Reports, Graphs and Statistics
  • Styles
  • Styling
  • Tips & Tricks
  • Views

Disclaimer

The purpose of this site is to help members of the Formidable Forms Community interact with one another, provide examples of custom code and help others with topics that may not be covered by support on the main Formidable Forms website. If you are seeking support from the Formidable Forms team, please create a ticket on the Formidable Forms website.

Copyright © 2021 Strategy11, LLC