Skip to main content
tejashriw155148
Level 4
Aug 31, 2020 3:25 PM UTC
Question

Pop up warning message

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
Sep 3, 2020 5:10 PM UTC

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

Translate
Sukrity_Wadhwa
Level 4
Sep 9, 2020 7:53 AM UTC

Hi @tejashriw155148,

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

Thanks!

Translate
Sukrity Wadhwa