Confirmation e-mail versus PDF, amounts don't match!

  • Profile Image
    braultp
    Asked on January 20, 2018 at 12:43 PM

    Hi.  I created a form to register for an event.  There is a price for members and a price for guests.  I created 'conditions' and everything seemed to work fine... until I decided to add a PDF copy of the completed form to the sender.

    The e-mail confirms the correct amount that is due if you are a member but the PDF shows two prices: if you are a member and if you are a guest.

    How can I manage what is printed in the PDF so that it reflects exactly what the situation is?  I can control the e-mail but not the PDF.

    Thanks

    Screenshot
  • Profile Image
    EltonCris
    Answered on January 20, 2018 at 04:59 PM

    Fields in the PDF will only be hidden if it's empty. If both fields are filled, they will be shown despite the conditions connected to them.

    So the solution is to perform the calculation depending on the user's selection only if it's a member or guest, so the other field is empty while the other has the calculated amount.

    Here's how to do that: https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

    If you need further assistance, let us know.