Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Add and configure a Richtext control in a Form

    Add and configure a Richtext control in a Form

    1 Context

    🧠
    A RichText Control is a complete HTML editor. It allows creating a custom editor from any input field to display HTML content or similar. In addition, you can format the text and save additional content in it.

    2 Result

    image
    image

    3 Step by step guide

    1. Open the form designer of “OrderForm_<yourName>”
    2. Search in the section “Library of Objects” for the Object “SimpleSwatRichText”
    3. Drag and drop it at the end of the form
    4. Delete the object “Instruction” and save
    5. Change the “Object Name” attribute of the “SimpleSwatRichtext” object to “Instructions”
    6. Also change the number of the attribute “HEIGHT-CHARS” to “10”
    7. Go back to the designer and launch your screen to see the result

    4 Explanation

    icon
    By replacing the name, the rich text is informed in which value it should save the inputs. Since we are putting it in the order form, which is assigned to the OrderDSO, the storage relation is automatically set through the name assignment.
    Logo