LOTUSSCRIPT/COM/OLE CLASSES


Examples: FieldAppendText method
1. This form action script appends the phrase "Over here, balloon man!" to the Body field of the current document.
2. This script appends today's date, the current user's name, and the contents of the Event field (each separated by spaces) to the Log field, when the user saves the document. The Event field is cleared.


3. This button script appends a new value to a text list. The script prompts the user for a string value. If the choices field is empty, the script adds the new string to the choices field. If the choices field already contains values, the script appends the new string to the choices field, preceded by a semicolon, which is the designated multi-value separator for the field.


See Also