Support » Plugin: Caldera Forms - More Than Contact Forms » conditionals in alert success

  • Resolved inicolabug

    (@inicolabug)


    Hello to everyone,
    i hope someone can help me.
    i try to make the form result printable and save to pdf option.
    So i made a table with %slug% and label in the alert success message, and user can print or save to pdf all the data.
    All work fine, except for conditionals fields , i wrote in this way : <tr>
    <td>[if premio0] PREMIO: [else] [/if]</td>
    <td>%premio0%</td>
    in mailer works perfectly but not in the success message, i saw all the line with code and not only the label and values .
    any tips to solve it? thanks in advance

    https://wordpress.org/plugins/caldera-forms/

Viewing 4 replies - 1 through 4 (of 4 total)
  • ok solved! i ad a variable with all the values of the conditionals and in this way works perfect.
    thanks for the great plugin

    Superbobo75

    (@superbobo75)

    Hello,

    Could you write how you print and save to PDF do?

    inicolabug

    (@inicolabug)

    Hi, it’s quite simple, i just add the plugin dk-pdf and the paste the shortcode on the form page, (i’d like to put on the alert message box, but didn’t work) so when u submit the for (disable Ajax ) the alert message is on the same page and u can save it or print let me know if u need help.

    Thank you for the advice. Sorry for the late reply, I had a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘conditionals in alert success’ is closed to new replies.