AnsweredAssumed Answered

Conditional string display

Question asked by chris.ben Champion on Sep 14, 2014
Latest reply on Apr 26, 2017 by chris.ben

Hi all,

 

Are there any inline functions to conditionally hide or manipulate strings?  e.g. I have a form with optional fields and send a notification email to someone when the form is submitted.  If the user does not populate these fields, I don't want to show the labels and the empty fields in the email.  e.g. the mobile phone is optional.

 

An inline function along the lines of if(isblank(mobilePhone),"","Mobile: "&mobilePhone) would be awesome.

 

I think I can do this using the build string action but I'm wondering if I can do this directly in actions such as the send notification action.

 

Thanks,

Chris

Outcomes