Skip to main content
Nintex Community Menu Bar

hide field in email if blank

  • July 28, 2017
  • 2 replies
  • 16 views

Forum|alt.badge.img+5

I have an email which has a series of Labels and Properties, for example:

Laptop make: Hewlett Packard

Mobile model:

Monitor type: SA450

Extension: 9999

What I would like to do is to the hide any line where the data field is blank; in this example "Modile model". I also don't want to have a blank line in the email. So what I would like to see is

Laptop make: Hewlett Packard

Monitor type: SA450

Extension: 9999

2 replies

Forum|alt.badge.img+14
  • Scholar
  • July 28, 2017

you have to prepare mail content into a variable.

if a field has a value - append it to variable, if it doesn't have - do not append it.

then just insert variable into mail body.


Forum|alt.badge.img+9

Hi ‌,

Use 'Set a Condition' to check the 'Mobile model' is empty or not. Have 2 send notification objects.

If 'Mobile model' is empty, remove 'Mobile model' line from send notification object else have 'Mobile model' value in send notification object.

206079_pastedImage_1.png

Thanks,

Lakshmi C