Forum Stats

  • 3,733,849 Users
  • 2,246,830 Discussions
  • 7,856,894 Comments

Discussions

Carriage Return in Text-Area of Editable Table Form Causes Exit from Edit Mode

Marley Bates
Marley Bates Member Posts: 4 Green Ribbon

JET Version: 10.0

Hi Community

I am hitting an issue when using editable form table. A row can be edited by clicking the Edit icon which brings up a form containing input-text fields. When the enter key is pressed the edit form is cancelled and opens the same form but for the next row in the table.

Ideally I would like the edit button to perform a carriage return. Does anyone have any ideas about how to do this?

Many thanks


Editable Form Table - https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=table&demo=editableFormTable

Form:

In edit mode:

After enter is pressed the form is brought up for the next row and the previous row changes are not updated:

HTML Code


Tagged:

Answers

  • John 'JB' Brock-Oracle
    John 'JB' Brock-Oracle Posts: 2,546 Employee

    As long as you are on JET v10 or newer, there was a feature added to the oj-text-area component that will allow you to use Alt-Enter instead of Enter to get the new line. Pressing Enter by itself will submit the change.

Sign In or Register to comment.