Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fried_eggz

    (@fried_eggz)

    Hmm. Interesting question. I should maybe expand the filter_entries filter to also pass the $form object so that it can be used for conditional operators….

    Each submission in the array sent to the filter contains a value for “form_id” (meaning the GF that the submission was made from)

    So you can just compare $entries[‘form_id’] to your desired GF ID in your foreach() loop – just remember to cast this form_id value to an integer (using +0) if you are using the loose comparison operator ==

    Plugin Author fried_eggz

    (@fried_eggz)

    Thank you Sith Lord Goz (awesome name!), that is correct. All entries contain the form ID.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Specific form filter entries’ is closed to new replies.