Manage Learn to apply best practices and optimize your operations.

Rich Text to plain text conversion with Formula

Use Formula to convert Rich Text to plain text.

On Web applications, it is often required to get user input as big chunk of text (Such as Comments of feedback form). A rich-text box can be used with "Display using HTML." For displaying purpose, it might be necessary to convert the so-called Rich Text back to plain text.

Steps :

1. Add Rich text field to form (Say "MyField")
2. Add another Plain text field to the form (Say "MyTextField"), set the Type as "Text" and "Computed"
3. Select the property to hide the "MyTextField" from Notes client and Web browsers.
4. In Programmers pane, set the value for "MyTextField" as @Abstract([TextOnly];512;" ";"MyField");

Done! Use the "MyTextField" throughout the application. It will have plain text equivalent of "MyField".

Dig Deeper on Lotus Notes Domino Administration Tools



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...