Pop up warning message

Avatar

Avatar

tejashriw155148

Avatar

tejashriw155148

tejashriw155148

31-08-2020

Hi,

 

Can we display warning message in Adobe campaign classic through input form? if yes then how? Please suggest.

 

Since don't know how to display warning message in input form I tried for error message.

I have written below code in nms:delivery input form-

 

<if expr="EV(@messageType, 'sms')">
<check expr="[../content/sms/source] !='' ">
<error>"Sure? you not added consumer number."</error>
</check>
</if>

 

The above code is working fine when I open sms delivery template and when click on save its showing error message if text content is not empty. But when I tried below code its not showing any error message even when text content is not equal to ABC:

 

<if expr="EV(@messageType, 'sms')">
<check expr="[../content/sms/source] !=''ABC">
<error>"Sure? you not added consumer number."</error>
</check>
</if>

 

Please guide here.

 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

09-09-2020

Hi @tejashriw155148,

Were you able to resolve this issue with the given solution? Please let us know.

Thanks!

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

03-09-2020

Hi,

 

That looks like a syntax error.

Also note the logic is inverted in the <check>'s, so to error if content is not ABC, it would be "[../content/sms/source] =''ABC".

 

Thanks,

-Jon