Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Aug 29, 2022

Lotusscript/Formula method to insert cursor at the end of a Rich text field.

Requirement is to insert cursor at the end of a Rich Text field by click of some button.

Checked and found few lotusscript method such as "GoToBottom" and "GoToField".

Problem with "GoToBottom" LS method-->

This can help in achieving the requirement. It insert cursor at the end of a rich text field. However, this field need to be last field of the FORM.

If there is any additional visible field below this rich text field, then the method will pick that field and will skip rich text field.


Problem wtih "GoToField" LS method-->

This method works fine but it insert cursor at the beginning of rich text field.


If you want to insert any text at end of rich text field, then again you have to manually move the cursor from beginning to end.


https://help.hcltechsw.com/dom_designer/10.0.1/basic/H_GOTOFIELD_METHOD.html

https://help.hcltechsw.com/dom_designer/10.0.1/basic/H_GOTOBOTTOM_METHOD.html

  • Attach files
  • Guest
    Reply
    |
    Sep 19, 2022

    If you are also in control of the form, you can add a small almost invisible field after the Rich text field. The button jumps into it and moves to the left.

    @Command([EditGotoField]; "AfterItem"); @Command([EditLeft])

    Unfortunately, the result depends on the contents of the RT field.

  • Guest
    Reply
    |
    Aug 30, 2022

    Can't you use some form of uidoc.FieldAppendText() to achieve what you need?