Add line/submit on Enter tabular

Hello ppl,
I use a tabular form and I want to submit/save the lines when the user presses the Enter key.
In addition, I would like a new empty line to be added to the form with the focus of the cursor to the first field of it.
so my users can enter dozens of lines without needing a mouse.

anyone has an idea on how to implements this?

Thanks in advance

Hi Eng_ahmed,

There are several pages, you can consult:

Setting focus to a particular field when the page is loaded: tabular - form at first, place the cursor on any field
Navigate with the cursor keys: [http://roelhartman.blogspot.com/2008/12/moving-through-tabular-forms-using.html]
Create a new empty without using the add a line button: problems with "add a line"
Layout of the page by pressing ENTER: Submit page by pressing 'Enter'...

Between them, they meet all your needs!

Andy

Tags: Database

Similar Questions

  • Add line to pagination sorting tabular problem

    Hello

    I have a problem with a tabular presentation that has various sortable columns. If the user tries to add a line when the sort order is set to something where possibly NULL values are that appears first in the list, so the user cannot enter data (since the last results page still appears after clicking on the button Add a line).

    I know that the blank record is listed somewhere, since the number of pages in pagination is increased by 1, but it is impossible for the user to enter data on this issue since the passage home pages then deletes the empty record. How can I fix? Is it possible to programmatically reset all sort columns?

    See you soon!

    Hello

    Levels of sorting in the reports are stored as user preferences - it can be removed using PL/SQL. Take a look to: need to do the SORTING of columns only when I click on the column header and Re: placement works does not in reports of paging and default sorting

    Or, you can try adding an empty line in your SQL statement itself: problems with "add a line"

    Andy

  • Tabular add line question

    Hi guys,.

    I have a tabular presentation that I created using the wizard. The fields on the of are URL_ID, URL, URL_Name Report_ID

    The URL_ID is filled by a trigger on the table. The name of the URL and the URL field are met by typing in a textbox.

    Is it when even spend Report_ ID value of an item hidden in the Add line function so that it inserts into the table. For the moment it insert a null value.

    I'm under Apex 2.0 by the way.

    Thanks in advance,

    Huw.

    Your REPORT_ID (whatever it is) column has a property with a default value which could be an element value (P1_REGION_ID) or a PL/SQL Expression NVL(:P1_REGION_ID, '00000'). In addition,

    Owner of the Table reference
    Reference Table name
    Name of reference column

    must be defined correctly.

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • How can we add lines by using the APIs in the Apex?

    Hi all

    In my application, I created the elements of text using the API like this:

    HTP.p ('< tr >');
    HTP.p ("< td width = 80px align =" center"> < b > ');
    HTP.p ("font color =" black"> ');
    HTP.p (APEX_ITEM. Text(1,c.empno,10,30,"','','"f01_'|| j||'"'));
    HTP.p ("< /b > < table > '");

    Now, I need to add a line button when you click on to insert a new row so that it can enter data...

    How do I do this?

    Thank you
    David...

    David,

    If the EMPNO is your primary key column, it cannot be changed. The update process identifies the line updated by EMPNO. If you want to allow users to change the EMPNO value, you will need to add another column to your tabular form that is used to store the primary key. In general, the primary key values must be meaningless, should not be exposed to the end user and only used for internal processing.

    Kind regards
    Marc

  • Need to add lines to a dynamic form based on numeric field

    I designed a form based on the example in the book of the use of javascript with addInstance Terry to make a button to add a line in a table.

    Works very well for me, however I am transforming the shape slightly so that instead of allowing the user to click the button Add a line I have them enter a numeric value in a field, then call addInstance to create the correct number of lines. The numeric field is on page 1 of the form and is called NumberStudents and is linked as a Global.  I tried to have him call addInstance to add lines, but can't make it work.  Suggestions appreciated. Thanks newbie.

    The only mistake you made was missing rawValue next to the name of the command "NumberOfCards".

    var i = 0;

    for

    (I have = 2; I<>NumberOfCards.rawValue. i ++) {

    Roster.Page2.StudentSubform.Table1._Row1.addInstance (1);

    XFA. Form.Recalculate (1);

    }

    If your requirement is to add the number of rows based on the value entered in the digital field, so you can by calling the setInstances method. This way you need not looping through the number and use of the addInstance every time.

    Roster.Page2.StudentSubform.Table1.Row1.instanceManager.setInstances (5);

    XFA. Form.Recalculate (1);

    or

    Roster.Page2.StudentSubform.Table1._Row1.setInstances (5);

    XFA. Form.Recalculate (1);

    Thank you

    Srini

  • Add line does not if more than 5 records are displayed on the screen

    Hi all

    Does anyone know why the button Add line on a report of sql update would stop to insert an empty for data entry line when more than 5 records were entered into the form? I can insert up to 5 files. After this, a blank line is more provided by the button. Odd. Have any ideas?

    Any help would be greatly appreciated!

    Michelle

    Hello

    Change this:

    Maximum number of lines: 15

    TO:

    Maximum number of lines: 1000 (or more)

    Andy

  • Add lines - which method is the fastest

    I work with data in data acquisition and I need to add lines. I came up with two methods of getting that and as I work with pretty big blocks of data I wonder which approach is most effective. Thanks for the help.

    Both are methods of 'SLOW' and quite the same.

    If you need to go a lot faster, initialize a large array and then use the function 'replace the item.

    If you have any problem to speed the first is the simplest method.

  • How do I add lines to multicolumn listbox control

    Hi all

    the questions are as below:

    1. how to add lines to multicolumn listbox control?

    2. the message is the message of RS232 communication with hexadecimal, how to convert 2D format to fit the Ref property?

    anyboady can provides a simple example? Thank you very much.


  • How to add lines to the PresetEffects.xml from a script

    Hi, I would like to add a few lines in the PresetEffects.xml to another text file or an another JavaScript add lines like this how can I do? :

    < name of the group = "$$$ / AE/Preset/AnimalHead14 / = mouth" >

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthOffsetX = mouth X shift" default = '0' valid_min = '-30,000"valid_max ="30000"slider_min = slider_max"-500"= '500' precision ="1"DISPLAY_PERCENT ="true"/ >"

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthOffsetY = mouth Offset Y" default = "0" valid_min = "-30,000" valid_max = "30000" slider_min = slider_max "-500" = '500' precision = "1" DISPLAY_PERCENT = "true" / > "

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthScaleWidth = scale Overture" default = "100" valid_min = "-30,000" valid_max = "30000" slider_min = slider_max '-500' = '500' precision = "1" DISPLAY_PERCENT = "true" / > "

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthScaleHeight = scale of mouth height" default = "100" valid_min = "-30,000" valid_max = "30000" slider_min = "-500" slider_max = "500" precision = "1" DISPLAY_PERCENT = "true" / > "

    < / Group >

    < / effect >

    {function onClick.btn

    Add the lines of my text file in the PresetEffects.xml

    I did once, like this:

    var scriptEffect = {};
    scriptEffect.xml =
    
        
            
            
        
        
            
            
            
        
    ;
    scriptEffect.matchName = [email protected]();
    
    function installScriptEffect(){
    
        var ret;
        var file = new File(Folder.appPackage.absoluteURI + "/PresetEffects.xml");
        var str, idx, header, xml;
        var xmlSettings = XML.settings();
    
        XML.setSettings(XML.defaultSettings());
    
        try{
            if (!file.exists) throw "ERR_FILE_NOT_FOUND";
    
            file.open("r");
            str = file.read();
            file.close();
    
            idx = str.indexOf("");
            if (idx<0) throw "???";
    
            header = str.substring(0, idx-1);
            xml = new XML(str.substring(idx, str.length));
    
            if (!xml.contains(scriptEffect.xml)){
                xml.appendChild(scriptEffect.xml);
                if (!file.copy(new File(file.absoluteURI+".bak"))) throw "ERR_CANNOT_WRITE";
                file.open("w");
                if (!file.write(header + xml.toXMLString())) {file.close(); throw "ERR_WRITE_FAILED";};
                file.close();
                alert("Preset installed succesfully. Please restart After Effects");
                }
            else{
                alert("Preset already installed. You need to restart After Effects to make it effective.");
                };
            ret = true;
            }
        catch(e){
            file.close();
            alert(e);
            ret = false;
            };
    
        XML.setSettings(xmlSettings);
    
        return ret;
        };
    

    Then, when you want to add the effect, check with myLayer.effect.canAddProperty (scriptEffect.matchName).

    If true, nothing to do, otherwise use the installScriptEffect function. Normally, it works (haven't tried for a long time).

    Xavier

  • ADOBE Acrobat Pro DC - add lines to an existing table

    Hello. I have an existing table, I need to add lines.  Is this possible? Thanks in advance.

    It is very difficult to do something like this in a PDF file (unless it was created using LiveCycle Designer).

    You will be better off by changing the original file, and then creating a new PDF from it.

  • Using Pathfinder to add lines to a letter?

    I added straight lines on a letter (see picture attached). It's the way I want it to look, but I want to understand how to use Pathfinder or another tool to add lines in the letter. How this is done?

    Thank you.

    Screen Shot 2016-05-19 at 8.52.33 AM.png

    You could use a transparency mask and keep the direct text.

  • How to add lines to HotSync7.0.2?

    I've recently upgraded to 6.2 Desktop and HotSync 7.0.2. All my Palm applications seem to wear well, BUT

    I can't understand how to synchronize, 3rd party applications.

    Can I add lines? If this is not the case, how can I sync?

    Thank you!

    You could try to reinstall the desktop versions of the third-party programs, but comes perhaps not compatible with 6.2...

    You will need to check the website of the authors of software for more information.

    WyreNut

    Message relates to: Centro (AT & T)

  • Add lines above and below the text

    How can I add lines above and below the text in indesign.

    I inherited this file and want to change.

    indesign to cs6 file example

    http://www.cathylbrown.com/PDF/ TEst - Lines.indd

    http://help.Adobe.com/en_US/InCopy/CS/using/WSa285fff53dea4f8617383751001ea8cb3f-6dd2a.htm l #WSa285fff53dea4f8617383751001ea8cb3f-6dc1a

    Sorry, making reference to InCopy.

    I meant http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6dd2a.h tml #WSa285fff53dea4f8617383751001ea8cb3f-6dc1a

  • How to set up 2 Add line buttons in the 1 table?

    Hi all

    I'm trying to set up a table where there are 2 Add line keys, 1 at the top of the table and the other to halfway across the table.

    When I tried a work around to have 2 tables, add rows to the table top does not move the table below it down and only written over anything below.  I hope that makes sense.

    Thanks for any help.

    Send your form to the [email protected]

    Nith

  • Add lines to and delete rows in a table to the issue of enforcement

    I downloaded an example of Adobe for the addition or deletion of a line when running.

    The example works fine, but it only allows to generate the maximum of 7 rows!

    I tried to change the code but I missed. Can you help me?

    Here's the code for the Add button

    Form1. #subform [0]. Add::click - (JavaScript, client)
    nTableLength stores the number of elements XML contained in table 1.

    var nTableLength = Table1.nodes.length;
    var nNumRow = 0;
    for (nCount var = 0; nCount < nTableLength; nCount ++) {}
    If ((Table1.nodes.item (nCount) .className == "subform") & (Table1.nodes.item (nCount) .name! == 'HeaderRow')) {}
    nNumRow = nNumRow + 1;
    }
    }

    If (nNumRow == 7) {}
    xfa.host.messageBox ("the maximum number of lines is 7. You cannot add lines more. ","warning ", 3);
    }
    else {}
    Table1.Row1.instanceManager.addInstance (1);
    }

    Take a look at the 'points' field can be defined with a maximum number of lines that illustrated by the subform 'detail', below.

    Steve

Maybe you are looking for

  • The Explorer open/save always maximized window

    On a fairly fresh install of FF (now v39) in Windows 7 x 64, anytime I try to FF, the Explorer window opens completely optimized for open/download/save something and cannot be resized. To record, there may be a middle window where I have a possibilit

  • Tecra 8100: memory slot problems

    I have a model tecra 8100 not: PT810L 12 c 42. I had problem with slot B mem, so collapsed to use it. Then I upgraded my RAM and inserted a 128 Mb TOSHIBA THLY6416G1FG-80 RAM PC100-222-620 slot A and used for a month. Then he suddenly went dead one d

  • Satellite 1415 does not see HARD drive

    I just finished my old 30g HD to a 160g via a cable usb/ide on my Satellite 1415 cloning/adaptation. I've used Norton Ghost who said using the copy MBR 'not' option, I have to format the new drive. It took me over six hours to do due to overheating c

  • K025DX locked up

    Is there a reset button or a way to remove the battery to do a hard reset? I do not wait for the battery to die will do, but in another 6 hours or more mayby I'll know better. He is not responding to something... ctrl alt del, ctrl shift esc, alt f4.

  • Login process failed create the security options dialog. Failure-security options.

    Computer is super slow start (really, really slow).  It takes several minutes for nothing to treat, even by typing a key.  I also get a message that says: logon process has failed to create the security options dialog.  Failure-security options.  I g