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".

This was first published in September 2001

Dig deeper on Lotus Notes Domino Administration Tools

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close