Print Parameters only if exists


sorry for my english .

I wanted to know if there is a way to print a parameter conditionally. I try to explain myself better, in my case we have a print of an order from a customer of a restaurant. The condition should be if the "allergies" parameter has been written then it must print the line "allergies: [Allergies] otherwise it must not print anything. This is in order to make the report shorter once printed. In your opinion it is possible ?

I am a newbie so thank you very much for the attention.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.