Email Notification: how to show only the products that the user has ordered.

  • Marek_Dzurilla
    Asked on June 11, 2019 at 4:04 PM

    Dear JorForm support,

    I have been using your sales form and have created a notification to my customer after each order to his email account. 

    There is the whole form being copied and sent to his aacount, There are several rows in there with several products. I wish the confirmation to be sent only with the rows with references he has ordered, not all the form even with the rows he has not orderd and e.g. number of ordered ps= 0. 

    How could we solve this?

    Thanks in advance!

    Rgds

    Marek 

  • David JotForm Support Manager
    Replied on June 11, 2019 at 5:44 PM

    Are you referring to this?

    1560289002options 001 Screenshot 10

    Those products are selected by default, and set up to read-only. If you want the users to fill a quantity for each, you would need to require all the quantity fields: https://www.jotform.com/help/546-How-to-Set-a-Field-as-Required-or-Non-Required

    1560289211requirethem Screenshot 21

    On the other hand, if your intention is to let users decide which products they can select, I would suggest you to:

    1) Remove the default selection.

    2) Remove the "Read-only" validation.

    3) Create a condition for each product to enable and require the quantity field if the product is checked, example: https://www.jotform.com/help/367-How-to-Make-a-Field-Required-Based-on-User-s-Answer

    1560288528condition Screenshot 32

    In that way, only the selected product will show up in the email notification, example:


    1560288920result Screenshot 43

    Let us know if you need more help.