Conditional statement for blanks

683
2
Jump to solution
09-17-2021 09:48 AM
ANRGIS
by
Occasional Contributor

How can I get this to work for reporting:

Seepage collection systems: ${embankmentdraintypes}${if embankmentdraintypes==""}None${/}

It's a select multiple that's null. I want the result to say none but It's not working. 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @ANRGIS

You can use the not operator (!) to catch null submissions. The syntax would look like: 

${embankmentdraintypes}${if ! embankmentdraintypes}None${/}

Thank you, 

Zach

Thank you,
Zach

View solution in original post

0 Kudos
2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @ANRGIS

You can use the not operator (!) to catch null submissions. The syntax would look like: 

${embankmentdraintypes}${if ! embankmentdraintypes}None${/}

Thank you, 

Zach

Thank you,
Zach
0 Kudos
ANRGIS
by
Occasional Contributor

I'll make the change see if it works! Thanks @ZacharySutherby 

0 Kudos