Expand my Community achievements bar.

Pop up warning message

Avatar

Level 4

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.

 

2 Replies

Avatar

Community Advisor

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

Avatar

Administrator

Hi @tejashriw155148,

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

Thanks!



Sukrity Wadhwa