Support » Plugin: Pods Gravity Forms Add-On » Cancel Save of Custom Post

  • Resolved hmcody

    (@hmcody)


    I am using Gravity Forms to add a custom post, Newsletter. The PODS CPT has a file field which is referenced on the form. If a file is uploaded, the newsletter post should be saved and a notification sent with the file attached. If a file is NOT uploaded there is also an option to select from existing newsletters, in which case the notification should still be sent, but a new newsletter post should NOT be created.

    What I can’t figure out is how to cancel the post save in the second case. I am doing the needed processing for attaching the file and creating the mailing list in filter gform_notification_12. My guess is that the cancel would need to happen someplace else, I’m just not sure if it would be in a Gravity Forms hook or a PODS hook.

    Could you point me in the right direction? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve solved the immediate problem by eliminating to ability to select another file.

    But I would still be interested to know where I could cancel the save if I need to do so.

    Plugin Author Jim True

    (@jimtrue)

    You would do that with Conditional Logic on the Feed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cancel Save of Custom Post’ is closed to new replies.