Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Pop up warning message

tejashriw155148
Level 4
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
wodnicki
Community Advisor
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

Sukrity_Wadhwa
Employee
Employee

Hi @tejashriw155148,

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

Thanks!