Dear Sir/Madam,
I have a form with some conditional field, I want to send a confirmation email to customer after submission, how can I insert the conditional field? For example, if a customer doesn't select an item from the selection field, I want to show N/A in the email body.
Best regards,
Kelvin.
Dear Kelvin.
You are right, there isn't "Conditional output" button within "Notification e-mail body" editor, as a workaround, you can create a new content template, in the template editor, there "Conditional output" button, you can use it to setup [wpv-conditional] shortcode
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional
Then back to the Toolset form, in the "Notification e-mail body" editor, click "Fields and Views", insert the shortcode of above content template into the mail body.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body
Dear Luo Yang,
Thanks for your reply. When I create a content template, what should I select from post type? What is the checkbox for "Apply to existing Enquiry items" and what is the "Translation Priorities"? (see screenshot)
Best regards,
Kelvin.
You just need to choose the option "Don't assign to any post type".