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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Display text at the end of the content

Avatar

Level 4

Hi,

 

I added logic in the nms:delivery input form hence the text message is rendering automatically in the sms delivery template inside text content. But its coming at the starting position.

 

tejashriw155148_0-1598888009412.png

 

 

Please suggest how to display text at the ent of the content.

 

 

4 Replies

Avatar

Community Advisor

Hi,

 

Could you paste the form code you added to alter the delivery content?

 

Thanks,

-Jon

Avatar

Level 4

Hi @Jonathon_wodnicki 

 

I have added below code in nms:delivery input form inside input tag-


<enter name="onChange">

<if expr="EV(@messageType, 'sms')">
<set value="Avreg? LFAVREG till 71120" xpath="/delivery/content/sms/source"/>
</if>

 

Please suggest what changes I should do, so the code will come at the end of the SMS content.

 

Thanks.

Avatar

Level 5

Hi @tejashriw155148 ,

Try the below code, 

(By giving empty set 'value' before the last line set value)

 

<enter name="onChange">
<if expr="EV(@messageType, 'sms')">

<set value=" " xpath="/delivery/content/sms/source"/>
<set value="Last line text" xpath="/delivery/content/sms/source"/>
</if>