Impossible to format a line break in the mail reader client

I am running Acrobat X Pro and Acrobat Reader XI 10.7.5 OS.

I have a javascript that formats and sends an email that works correctly in Pro:


function formatEmail()

{

var mailTo = this.getField("emailAddress").value;

mailTo.length

app.mailMsg ({bUI: true,})

cTo: mailTo,.

bassujetti: quizName,

CMSG: "Student Name:" + this.getField("Name").value + "< br / > '"»

+ "Date: \n" + this.getField("Date").value + "< br / > '"»

+ "Quiz Score:" + this.getField("Name").value + 'responded' + correctCount + 'questions correctly.' "."  + ' < br / > '.

+ msgBodyResults + "" < br / > ".

+ "Written answers:" + "< br / > '"»

+ "Question #9:" + this.getField("Text09_").value + "< br / > '"»

+ "Question #10:" + this.getField("Text10").value + "< br / > '"»

});

}


The usual javascript for a newline '\n' command does not work.  But the html command.  The script run MS Outlook for Mac 14.3.8 and types the text into the fields Email to deal with the correct line breaks:

Student name: name

Date: Date

Quiz score: name meets the 8 questions correctly.


Question #1.  Jurisdiction: The ideas and details.  Student response: A (correct)

Question #2.  Competence: Vocabulary/context clues.  Student's response: (correct) C

Question #3.  Jurisdiction: Literary technique.  Student's response: (correct) D

Question #4.  Competence: Conclusions.  Student's response: (correct) C

Question #5.  Jurisdiction: Proof text.  Student's response: (correct) D

Question #6.  Jurisdiction: The text features.  Student response: A (correct)

Question #7.  Jurisdiction: Proof text.  Student's response: (correct) C

Question #8.  Jurisdiction: The ideas and details.  Student's response: (correct) C


Written answers:
Question #9: It's an a sample

The problem is that this same script executed at the XI player not reformatted a line break at all in the same email client. Not with the characters \n or < br >. The result is just a big block of text similar to the following:

Student name: name < br / > Date: Date < br / > Quiz Score: name correctly answered 8 questions. < br / > Question #1.  Jurisdiction: The ideas and details.  Student response: A (correct) < br / > Question #2.  Competence: Vocabulary/context clues.  Student's response: C (correct) < br / > < Question #3.  Jurisdiction: Literary technique.  Student answer: D (correct) < br / > Question #4.  Competence: Conclusions.  Student's response: C (correct) < br / > Question #5.  Jurisdiction: Proof text.  Student answer: D (correct) < br / > Question #6.  Jurisdiction: The text features.  Student response: A (correct) < br / > Question #7.  Jurisdiction: Proof text.  Student's response: C (correct) < br / > Question #8.  Jurisdiction: Ket ideas and details.  Student's response: (correct) C < < br / > answers written: < br / > Question #9: this ia a sample < br / > Question #10: < br / >

The only other variable here is the pdf executed by Reader is a Reader Extended PDF.

Does anyone have the solution? (Or an explanation?) Thank you...

(Copy of http://forums.adobe.com/thread/1335461?tstart=0)

Tags: Acrobat

Similar Questions

  • Automatically convert soft line breaks in the text box to hard breaks

    I have the design of textbooks and convert to ePub recomposable, broke up. These ePub files get formatted then can be used interchangeably on the printed text. A book that I am currently in conversion is a literature book where there are lines of text with the overall line numbers so that teachers can quickly refer to a specific section of the text.

    All the line breaks in the ID file are defined just by the edge of the text box. So the text box change sizes, all line breaks would also change. Isn't a problem until you need to keep these online breeze in recomposable text and add up the numbers in.


    What I'm looking for is a way to insert automatically the line breaks in these LONG sections of text in the right places. Does anyone have any ideas on how to do that?

    Thank you!

    Select a text box and run this script. He puts a soft return at the end of each line that doesn't have a carriage return. For more information on the installation and use of this script see http://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-o r-blog - post.php .

    Written by Skemicle

    If (parseFloat (app.version)<>

    main();

    on the other

    app.doScript (principal, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "add end of line returns");

    main() {} function

    lines of the var = app.selection [0].parentStory.lines;

    for (i = 0; i<>

    If (rows [i] .characters [-1] .silence! = "\r") {}

    lines [i] .characters [-1] .silence = "\n";

    }

    }

    }

  • line break in the value of the attribute

    Hello

    11g JDevleoper xml document I need to have the line Rodez well instead of having xml attribute value

    <some-xml-element value="this value goes over.... multiple lines!" />

    I want to have


    <some-xml-element> <value>this value goes over...

    multiple lines!</value> </some-xml-element>


    Is this possible?

    Thank you

    Anatoliy

    Your original question was about an XML attribute , but him more later for example does not use an attribute and a child element (). Attributes of the element XML and XML elements are two different things. If the XML schema for the underlying document defines the attributes, you cannot specify the required values as child elements.

    If the XML schema defines the 'value' as an XML attribute, you can specify newlines using characters references, for example:

    value="this value goes over...
    multiple lines!"

    NB. If you put direct line breaks in the attribute (as in your first example above) instead of character references, it will not work. Please, have a look here for precise explanation:

    Is it possible to have HTML or CDATA text inside an XML attribute? -Stack overflow

    If the XML schema defines the 'value' as an XML element, you can set the necessary value in a CDATA section, which will retain the formatting, line breaks including, for example:

     

    multiple lines!]]>

    Dimitar

  • line break in the TEXT Editor

    How to enter the line break in the TEXT Editor?

    --

    Thank you.

    There is an easy solution.

    If you want to use the Enter key, simply hold down the SHIFT key and the Smiley key become the Enter key.

    Alternatively, if you are a fan of the typing gesture, you have need only drop off shift at entrance to y to insert a new line.

    Hope that helps. Please acknowledge.

    Concerning

  • FTP Dreamweaver CC2015 removes all line breaks in the php files. How can I fix this problem?

    When I upload a php file. The ftp transfer removes all line breaks and creates a continuous line of unique text. I need to download the code with all the line breaks in the original php file correctly.

    I found the problem.

    FTP of Dreamweaver CC 2015 program is not compatible with Yosemite 10.10.5 on all ftp servers.

    The new version of FileZilla (v 3.14.0) is also not consistent.

    Fetch 5.7.5 is fully compatible with Yosemite. With Fetch, I can download the files without any problems successfully.

    In their update, Fetch mentioned that the problem is not with all servers.

    I host on Unix servers with HostGator AMD Opteron processors running on an OS GNU/Linux 64 - bit.

    If you run Yosemite and ftp of Dreamweaver is ruin your line breaks, then use Fetch until Adobe can fix their problem.

  • Force a line break in the text of button?

    I'm sure I asked this before a few months ago, but what worked then is not working now.

    Dreamweaver CS 6: I have a menu bar button that contains text that needs two lines. The default line break is awkward. I want to break the line a word before where the default it breaks.

    Now, a few months ago, with a taskbar button previous menus that have had the same problem, I was told to enter the control + return in the window code and divide the text exactly where I wanted. (Note: I'm on a Mac, I don't speak a command.) I mean the control key.)

    What to do with this button and it forces a line break where I want in the code window, but the design window is not follow suit.

    So. How can I force a line break in the text of the button in design mode? I'm sure it's something simple. But what I thought I knew have apparently isn't what I want.

    How can I force a line break in the text of the button in design mode?

    Have you tried Shift + Enter?

    It works in Windows, so it might work on mac as well.

  • Add the line break in the field 'ask '.

    Hello

    I am trying to create checkbox with a personal message for my iExpense page. The comment to go here is long enough and puts in place a horizontal scroll bar that damages the look and feel. I tried to adjust without wrap to FALSE, but which is overridden somehow. Can someone suggest how I can introduce a line break in the Guest section... I tried html breaks etc obviously, but they are coming as the exact line breaks not as characters.

    Hello

    As I mentioned in my email, this region is a region shared everywhere ebiz, if we programmatically change which will affect all applications.
    I've updated the other thread (root problem) soln,.
    iExpenses-Help for customization of a Standard of Notification Workflow page. ,

    Thank you.

    With respect,
    Kali.
    OSSi.

  • In MXML, how can insert you a line break in the label of a mx:Button?

    In other MXML components, you can do things like use curly braces to incorporate scripts, use '& #13' and stuff like that in their text and label attributes.  Apparently the mx label attributes: Buttons are so locked that normal suggestions for other components do not work.  I might try just setting the labels in the main script of an MXML file or something, but it's a sloppy programming if it can be avoided (values of labels will be constant in this case).  Is there a way to put a line break in the attribute in MXML?

    Regarding the use "& #13", which gave me a line break at least, but any text to the right of this sequence has disappeared.  This makes me think that there may be a way to make this work, but so far I have not found the way.

    Thank you!

    The response occurred in the thread that I put at the beginning for this:

    http://StackOverflow.com/questions/11621952/in-MXML-how-can-you-insert-a-newline-into-the-label-attribute-of-a-mxbutton

  • Line or break line break in the text in the UserInterface WEB-Gallery

    How to insert a line break or a line break in the text in the WEB - Gallery UserInterface defined in 'galleryInfo.lrweb '.

    Example:


    Code:

    < pre >

    ToolTip = LOC ' $$$ / AgWPG/Templates/HTML/Panel/WarningIcons/RequiresLarge = change of Image Pages settings are not currently visible.»  Click in the image grid to move to a page of the image. «,

    < / pre >

    Output should be:

    Changes to the settings of the Image of Pages not currently visible.

    Click in the image grid to move to a page of the image.

    Ideas are welcome, thanks.

    \n is a newline and \r is a return to regular text strings.


    is a newline in HTML.

  • Remove the line breaks in the HTML Source Code

    Is it possible to remove all line breaks in the code source HTML generated by Dreamweaver? After using the Dreamweaver design view window, I want to assure you that all the source code of the html page I created is going on a single line. Is there a simple way to remove all line breaks, or tell Dreamweaver to create the HTML code on a line?

    Ki Song says:
    > Is it possible to remove any line break in the HTML source code
    > generated by Dreamweaver? After the use of the design view window in
    > Dreamweaver, I want to assure you that all the source code for the
    > goes from html page I created on a single line. Is there an easy way
    > to remove all breaks online or tell Dreamweaver to create the HTML code
    > code on a line?

    http://www.TJKDesign.com/articles/whitespace.asp

    HTH,
    --
    Thierry
    Articles and tutorials: http://www.TJKDesign.com/go/?0
    Perfect FAQ page: http://www.TJKDesign.com/go/?9
    Templates CSS - P: http://www.TJKDesign.com/go/?1
    CSS tabs menu: http://www.TJKDesign.com/go/?3

  • contact form - line break for the field - email format - message

    For example, I have 4 lines in the message box:

    line 1

    line 2

    line 3

    line 4

    but the email looks like this: line 1 line 2 line 3 line 4.

    but I need line breaks:

    line 1

    line 2

    line 3

    line 4

    any ideas where changes are possible (e.g., form - process.php...)

    Hi Christian,

    It is not possible to Muse, but you are right, that if you export of Muse and edit "form_propcess.php" in the scripts folder, you can reach your target audience.

    You just need to redraw the structure of the .php file

    Once done editing the .php file, download all the files to the accommodation.

    Thank you

    Prabhakar Kumar

  • Possible to turn off the legacy of line break in the table of contents?

    Hello

    Say I got a long title stupidly, that I need to address (and subtitle is not an option in this case):

    Lorem ipsum dolor sit amet, adipiscing elit computer. Integer nec odio.

    Due to wide-ish the font size of the header in the document, I want to break this header in two lines.

    However my OCD uses a smaller font size, and so he could sit happily on a single line.

    The problem is that the inDesign TOC seems to be ineriting the soft breakdown and therefore the line break appears in the table of contents too.

    Is it possible to disable / prevent this?

    Thank you!

    Try to use nonbreaking spaces, or without breaks (spaces are less problematic) the part of the topic that you want to wrap instead of the line break is forced.

  • Line break in the data field

    How to make a make a line break in a data field?

    In the contract manager, it appears as a line break, but when I print a report, there is no line breaks.

    It is a problem known to Oracle. They are working on a fix, but now know when the fix will be sent.

  • I need to find all of the XML elements and add a line break for the text of each of them

    I need to find all XML elements and to add a line break the text of each of them.

    Is it possible with a script?

    Try this piece of code as it is. I hope that's what you want...

    var myDoc = app.activeDocument;
    var inddRooElement = myDoc.xmlElements.item(0);
    var xPathElements = inddRooElement.evaluateXPathExpression("//*");
    var elementCount = xPathElements.length;
    for(var eId=0; eId
    

    ----------------

    Green4ever

  • How to put a line break between the two strings?

    I'm putting a couple of line between strMessage2 and strMessage3 breaks in the automatic email button in the following document.  What Miss me?  Thank you!

    https://Acrobat.com/#d=hSatmYfM4gqdX1cb-XRVMg

    Win 7, LC 9.0 ES2

    Make sure that you use \n and not/n.

Maybe you are looking for