Pop up warning message | Community
Skip to main content
tejashriw155148
Level 4
August 31, 2020
Question

Pop up warning message

  • August 31, 2020
  • 2 replies
  • 1160 views

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
September 3, 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

Sukrity_Wadhwa
Community Manager
Community Manager
September 9, 2020

Hi @tejashriw155148,

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

Thanks!

Sukrity Wadhwa