Skip to content

How to add a CR+LF in a multiline text #3928

Closed

Description

@itg-assistant

Mirko Bonanno asked 2022-11-28 08:12:16 UTC

Hello,

I'm using WiseJ+PPJ in a ported project from Gupta code and my user informs me he cannot entre a CR+LF anymore into multiline fields. I did try [ctrl]+{enter], [alt]+[enter], [ctrl]+[alt]+[enter] , any manny other combinations with no succes ...

Can someone tell me how to sort this out ?

TIA

Mirko

PS Same problem in columns defined as popup

Activity

  1. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Alaa (ITG) answered 2022-11-28 14:59:22 UTC

    Hi Mirko,

    You should set the AcceptReturn property to true on the MultiLine TextBox.

    Also, it should be already set to true in SalMultilineField.

    Best,
    Alaa

  2. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Mirko Bonanno answered 2022-11-28 15:56:56 UTC

    Hello Alaa,

    Tank you very much for your very fast answer ;-)

    Infact the property AcceptReturn is already set to TRUE

    I just found out that there is a Sal.MapEnterToTab(true) on the SAM_AppStartup Handler OnAppStartup()

    In Gupta we were still able to add a CR+LF using the [ctrl]+[enter] combination.

    Is this a PPJ bug ?

    TIA

    Mirko

  3. itg-assistant commented on Jun 15, 2026

    @itg-assistant
    Author

    Alaa (ITG) answered 2022-11-28 16:42:44 UTC

    Hello Mirko, The MapEnterToTab js code in PPJ doesn’t check for the modifiers, we’ll fix it in PPJ and send you a quick patch for now on your Technology Partner account with us on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions