Support » Plugin: Send PDF for Contact Form 7 » Generate pdf IF (condition)

  • Resolved yano23

    (@yano23)


    Hi, is it possible to generate the pdf only IF some condition (like if a checkbox option is selected).
    This is because I use this pdf in case a user wants to contact another lister/supplier (its a listing website) asking to quote for the same project and not having them to complete the same form again. Now its sending 2 pdf’s to the 2nd supplier: the 1st quotation and a new one with empty fields.

    …or another option would be to send pdf if some field is not empty

    Hope I made myself clear and can get a hand with this.
    Thank you for the great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, not been able to accomplish this yet, seems I will have to stop using the plugin for that contact form 🙁

    maybe its easier to understand what I want in this way:

    if contactform7 ID is '400' { 
     if [telephone] is empty { don't generate pdf } 
    }
    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    It’s not possible a this moment, but i will thinking about that.

    Thanks

    Hi Florent,

    sorry to bother you again. Do you have any news on this?

    Maybe some filter to add in functions.php

    Any help will be appreciated

    Thank you

    Since this is marked as solved. I am looking exactly for the same solution. Any hint that helps here?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Generate pdf IF (condition)’ is closed to new replies.