Formated notified via Script

Viewing 4 reply threads
  • Author
    Posts
  • January 25, 2026 at 12:00 AM #53473

    Steve-Kai Vyska
    Participant

    Hello everyone,

    After I found out that note fields can be placed across multiple report pages, I am now trying to solve a problem using a note field. For this, I would need to fill it with content. My question is how I can change the formatting of the text via script — in other words, how I can make the font, alignment, etc. of the inserted text variable.
    When you read from the field or enter something into it, you always only get plain text, at least as far as I have managed so far.
    Thanks for all information and ideas.
    Steve

    January 25, 2026 at 2:25 AM #53474

    Steve-Kai Vyska
    Participant

    notefield of course 🙈

    January 25, 2026 at 10:50 AM #53475

    Daniel Leu
    Participant

    Unfortunately, you can’t. If you want to control formatting from scripts, use a Markdown field.

    Cheers, Daniel

    ---
    See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricks

    January 26, 2026 at 8:57 AM #53477

    Steve-Kai Vyska
    Participant

    Hi Daniel,

    I gave it a try. wehen usingg it in a form this word create (expect when you need a line to be centered, but that is ok. But as soon as you but the field in a report, there is noch formation in the tex and everything is printed in one line. Is that a bug or do I have to make something spezial to make it work?

    Cheers, Steve

    January 26, 2026 at 9:32 AM #53478

    Steve-Kai Vyska
    Participant

    Found the solution already you need to add a “\\\n” (“\\” to get a ”\” in the line and “\n” for a forced new line) to at the end of the lines for it to work in the Reports 👍

Viewing 4 reply threads

You must be logged in to reply to this topic.