To return the internal raw text representation of a given value
This function converts formatted text into unformatted text with HTML tags. This can then be further processed in functions that expect unformatted text as a parameter. Afterward, the result can be formatted again with the html() function.
This is very useful when, for example, you display data fields of type "Text (formatted)" with the appropriate formatting in dialogs or e-mails.






raw('My sample text')
Result: Returns the content of the formatted (e.g. field type Text (multiline)) text field "My sample text" as unformatted text with HTML tags.
dialog("Hello", raw('Dialog text'), ["Yes", "No"])
Result: Displays a dialog box with the heading "Hello" and the contents of the formatted text field "Dialog text" and the buttons "Yes" and "No".
Ein weiteres Beispiel finden Sie auch bei der Funktion createTextFile().
You can find another example on the page for the createTextFile function.

See also

​html, which returns a rich text representation of any value.
Last modified 1yr ago