Customer Engagement & Dynamics CRM Forum

Javascript New Line not working

  • 1.  Javascript New Line not working

    Posted 21 days ago
    I cannot get a new line to work on my JavaScript. I'm trying to pass some information to the description field on the email form and the new line just isn't working. I even tried a very simply piece of Javascript on form load to test it and still can't get it to work, every time it loads with only one line.

    What am I doing wrong?

    test = function()
    {
    Xrm.Page.getAttribute("description").setValue("Otis \r\n Buford");
    }

    ------------------------------
    Matthew Skowron
    HUB Industrial Supply
    ------------------------------
    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role