Is it possible to separate the information in the payment field?

  • transtrumbp
    Asked on October 27, 2017 at 4:19 PM

    Is there a way to customize the notifications for the options in the payment settings widget... 

    specifically, the shortcode in the email settings is simply {myProducts} but we have several options within the widget so it automatically produces all of them bunched together which makes it difficult to read (as you see in my attachment.)

    What would be AWESOME is if these options could also be hidden if left blank, as it is with other form settings (just not in the payment settings wizard).

    Thanks in advance for being awesome!

    Jotform Thread 1284500 Screenshot
  • Kevin Support Team Lead
    Replied on October 27, 2017 at 5:06 PM

    Please note that it's possible to separate the information from the payment field, this guide will help you doing so: https://www.jotform.com/help/231-How-to-Strip-Payment-Labels-and-Separate-Payment-Info-on-Email-Alerts 

    Regarding hide empty fields, if the option is turned on then the empty fields should be hidden from your email. Here's a guide that will help you hiding the fields: https://www.jotform.com/help/256-How-to-Hide-Empty-Fields-on-Email-Alerts 

    I hope this helps. 

  • transtrumbp
    Replied on November 4, 2017 at 1:45 PM

    Sorry that doesn't help.  I'm talking about within the payment settings you can create multiple products.  If you'll notice in my screenshot above, each bullet point is a separate product within a single payment wizard.

    The link you sent allows for some predefined payment field suffixes.

    I have tried variations of {myProducts:fieldID's} but it doesn't seem to work.


    Also, the hide empty field doesn't work for multiple products that are left blank.


    Any other suggestions?

  • Welvin Support Team Lead
    Replied on November 4, 2017 at 3:09 PM

    You can strip each of the element in the payment field, but the product items are still group into one. There is no way you can have them in separate row/column. 

    The "No Thanks" and other placeholder texts in the payment field are considered an option. This means that once the form submitted, you will receive them as part of the submission.

    The workaround for this would be to setup your product items using our dropdown field.

    1. Use Dropdown.

    2. Put "business card quantity" as the label, for example. 

    3. Put the quantity as the options.

    4. Add Calculation Values for each option. Note that since this is a dropdown, you should put 0 as the first Calculation Value. This is for the empty option.

    5. Get the total by calculation widget (https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form).

    6. Pass the final total to your Payment field (https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field).


    I can show you a demo if you want. Let me know. Note that you should do my colleague's suggestion to check Auto Hide Empty fields in the email.

    I hope this works.