syedkabeer
I'm new here

Adding <br> tag in CMS_INPUT_TEXTAREA

Hi,

     Could you please tell any one tell me.

     How to add break tag in CMS_INPUT_TEXTAREA

     If I go for CMS_INPUT_DOM, it's coming with dafault template i.e P tag

    

    Expection

    Hi <br>

    Dummy Test <br>

    dummy test <br>

Thanks in advance

0 Kudos
2 Replies
pavone
I'm new here

Hello,

you need to replace line breaks with <br> tags manually.

$CMS_VALUE(st_textarea.replace("\n","<br />"))$

Best regards

Tim

Thanks for the reply. Its really helpfull for me.

0 Kudos