• Target:
    If content of field “select1” = “value-1” then “text 1”,
    if content of field “select1” = “value-2” then “text 2”,
    otherwise “text 3”.

    Example 1:

    <div class="pl_if" field="select1" value="value-1"> 
    text 1
    </div>
    <div class="pl_if" field="select1" value="value-2"> 
    text 2
    </div>

    Example 2:

    <if field="select1" value="value-1"> 
    Text 1
    </if>
    <if field="select1" value="value-2"> 
    Text 2
    </if>

    Plugins used:

    • Contact Form 7 (version 5.7.2)
    • Conditional Fields for Contact Form 7 (version 2.3.2)
    • Send PDF for Contact Form 7 (version 0.9.9.1)

    Some time ago this worked with an addition in the file “/wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php”:

    $mpdf->SetHTMLHeader($entetePage);
    $text = apply_filters( 'pl_filter_content', $text, $posted_data );

    How to solve the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use a query for PDF design?’ is closed to new replies.