Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Javascript \n character ignored in outlook mobile

New Here ,
Dec 02, 2020 Dec 02, 2020

The submit button in my Acrobat form composes an email that just lists the form fields on seperate lines. The email looks just fine everywhere except for Outlook mobile. When I send emails that have manually typed new lines, it looks fine, but when the email is composed from my javascript code, it's all on one line on Outlook 365 (android). Can someone please help with this?

TOPICS
Acrobat SDK and JavaScript
750
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2020 Dec 02, 2020

Sounds like something to ask the Outlook mobile app developers (ie. Microsoft)...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 02, 2020 Dec 02, 2020

I thought so too, but I'm only experiencing the issue with my javascript in Acrobat.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 02, 2020 Dec 02, 2020

Email clients are wildly different from each other, and not standardised. So this is the sort of thing that is likely to happen. Have you tried sending multiline text only (not HTML mail) to this client to see if it's the normal thing?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2020 Dec 02, 2020

I would also try using "\r" or "\r\n", just in case...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 02, 2020 Dec 02, 2020
LATEST

I've tried 'em all...\r, \t, \r\n, \t\n, the list of alternatives is pretty long and each one got the same result.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines