In table form, addition of line, enter the key

I have a tabular presentation.  The user must enter the number of items; Sometimes one, sometimes thirty. There is a field to display in the report, i.e. 11111 22222 33333... By default, we can enter an element using the ten key pad, press TAB and jump on the add a line button, press ENTER and a new line is created.  But the cursor happened somewhere else in the form.  I would then put the Add button a line sets the cursor to the new line of tables so that the user can quickly add multiple numbers without having to use the mouse to click in each new domain. Thanks in advance...

Also, is there anyway to notify if the user enters a number double?

Hello

I have add to your page sample 3 new JavaScript function in the HTML page header

function validateAndAddNewRow(){

/* get all input tags */
var lInput=$("input[name=f06]");

/* array to hold input values */
var lValues=[]

/* collect input values to array */
lInput.each(function(i){
  lValues.push(this.value);
});

/* get unique values */
lValues=$.unique(lValues);

/* compare input count to unique values count */
if(lInput.length !== lValues.length){

  /* if there is duplicate values */
  /* alert about duplicates and exit */
  alert("Duplicate values");
  return false;

}

/* no duplicates. so we add new row */
addRow();

/* set focus to last row */
$("input[name=f06]:last").focus();

}

And add a line button target has changed

javascript:validateAndAddNewRow();

This seems to work ok in your example when I run with Firefox.

I noticed that on page 3, you have little JavaScript in the HTML Body Page attribute.

You should not write here all the JavaScript functions. You must fix this.

After you have correct this problem and try my proposal in your own environment return message it works.

If it doesn't, the control is there are JavaScript errors, for example by using Firebug.

Kind regards

Jari

Tags: Database

Similar Questions

  • Navigate the previous record, next record by entering the key in place and key press

    Hello

    JDeveloper11g_

    I am trying to solve how to navigate the previous record, then register by entering the key in place and key press to the table of the ADF.
    If any of you have this solution by JScript of Backing Bean please help me.

    Thank you
    Zed
    ===

    Hi Zaza,

    Try tweaking the Javascript code, as shown below.

    /** Change this line below .... **/
    var newStr = id.replace(/:\d:/, ':' + numValue + ':');
    
    /** ... to this... **/
    var newStr = id.replace(/:\d+:/, ':' + numValue + ':');
    

    Kind regards
    Amélie Chan

  • Satellite P750 keyboard won't let me enter the key 1 or 6

    Hi people,
    Hope someone can help me.

    My keyboard has developed a problem and won't let me enter the key 1 or 6.
    All the others work fine. This random enjoy error at first, but now seems to be like that all the time. I did a system restore, but that did not help. I am running Windows 7.

    Any suggestions, help will be appreciated.
    See you soon
    Rob
    It's a PSAY3A - 02J001 Satellite P750

    I guess that your keyboard is faulty. That would explain the problem. Only for test purposes, connect an external USB keyboard and check how it works.
    If everything works correctly, the keyboard controller is OK and it is certainly a problem of internal keyboard.
    In this case only the replacement keyboard help.
    Where the guarantee is valid, I would recommend contacting a sine of Toshiba ASP this would be fixed for free.

    Dude good luck.

  • I lost my disc for Age Of Mythology: titans pack expansion and saw several responses re download the trial version and enter the key here...

    I lost my disc for Age Of Mythology: titans pack expansion and I saw several responses re download the trial version and to enter the key from there, but I can't find where to enter the product key can help you?

    Hi JAWigan,

    I recommend you contact the support of Microsoft Game for assistance:

    http://www.Microsoft.com/games/ageofmythology/norse_downloads.aspx

    Reference:  Support for issues of PC games

    Hope the helps of information.

  • I'm having a problem in the activation. Trying to enter the key but it says try again a new key.

    I'm having a problem in the activation

    I am trying to enter the key but it says try again a new key, I have reinstalled windows on my pc when I bury the key, it is said, what can I do?

    Is it an upgrade license? If so, try the following:

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

  • Re-enter the key of W7, but my mouse and keyboard are not active?

    Hi guys when I turn on my computer now, it sends me directly on a screen where it asks me to re - enter the key of W7, I I try this but recognized the tRNA of the mouse and keyboard. After about 2 minutes, it goes to a screen where it says "this copy of Windows not genuine."

    If you can shed some light on how to get the mouse and keyboard to the rear, it would be great.

    Thank you!

    Have you tried to connect the keyboard and mouse to different USB ports?

    Is it wireless or wired keyboard and mouse?

    You can always re - enter the product key when you reach the office by following these steps:

    Press Windows key + R

    Type: slui.exe 3

    Press enter

    Enter the product key and click next to activate via the Internet.

  • Acrobat 9 installed on the old laptop. How to transfer to the new laptop? When I enter the key on the new laptop 9 standered is say invalid key

    Acrobat 9 installed on the old laptop. How to transfer to the new laptop? When I enter the key on the new laptop 9 standard is say invalid key. Help, please

    Hi bijals3520936,

    Check the serial key find the serial number of your product Adobe quickly

    Also check for compatibility before installing the software Adobe Acrobat required configuration.

    Kind regards
    Nicos

  • Enter the key of Lightroom

    I recently bought a Leica camera that came with a download free Lightroom. I couldn't download Leica off-site, so they advised me to do out of Adobes. I have now downloaded successfully, but it is only the trial version and I want to know how to enter the key I have without having to buy first

    Hi 0161rhinor ,

    To convert a trial to a full version, simply launch the product and wait for the prompt of the upcoming trial. At the prompt of the trial, you can click on this software license and which would be you are asked to enter the serial number of the product.

    Please try this and let us know if this resolves the query for you.

    Kind regards

    Michael Sharma

  • Table of contents - do not enter the table header overflow

    Hey,.

    In my table of contents, I listed two styles:

    1 table of contents Title Page

    2 - the ToC table header

    I also have my table set up correctly - headers, so when a Table flows to a second page - table headers appear in this second page as it should. The tables are large - and not the way to avoid overflow. I think that the principle is called "Text Threading" - but it also works with the tables.

    In the majority of cases - the implementation works perfectly.

    HOWEVER when the table flows to a second page - TocTable header does not appear in the Table of contents regenerated.

    For example, the table of contents looks like this:

    Electric Page 6

    Machine X - Y - Z Page 6

    Electric Page 7

    Electric Page 8

    When it SHOULD look like this:

    Electric Page 6

    Machine X - Y - Z Page 6

    Electric Page 7

    Machine X - Y - Z Page 7

    Electric Page 8

    Machine X - Y - Z Page 8

    Is this possible? I have looked at all - and cannot find all the options.

    Thank you!

    Clarify: X-Y-Z Machine is the title of the table, and he appears in a header row (repetition) over a several page table? And you want each occurrence of table header appear in the table of contents and not only the first occurrence?

    I don't think it will work this way. Header lines is modified on the first page of a table: other pages just repeat the info, but it is not accessible. It would work if you put the title of table above the table (not inside) and it repeated manually at the top of the pages. It's more work, but it will get the desired result. You mentioned that it doesn't happen that often, so maybe that's a doable "workflow" for you.

    That said, most of the TOCs brings you to the first page of a chapter, section, paragraph, and table and do not repeat the entry when the chapter, section, paragraph or a table contains more than one page. If I have sought to your table of contents and wanted to see the section on electricity, I have to stop and wonder what page to go to the first. I think that eventually, I would choose the premiera.

  • How can I filter a table of data control without entering the query

    I have a table from a WSDL-based web service data control.

    I want to filter the table without input query in the filter text box. Without text filter box, each could filter the table with a query hardcoded internally.
    For example, when the user menu button click and then it filters the table where type = '1' and B menu button filters the table by type = '2' and C menu button filters the table by type =' "."

    How can I filter the table without entering the query?

    Could someone point me to a solution please.

    Thank you.
    11.1.5 jdev

    Published by: 893364 on October 26, 2011 12:15

    Published by: 893364 on October 26, 2011 12:21

    Hello

    When you have created the table, have you tried selecting the option "filter". Select the table, and access the property of m.. In the toolbar of the Properties Inspector, there is an icon to change the configuration. His fields of filter adding filter for the user to search in.

    Option 2: Data from the Web Service are actually held in iterators. If you want to filter the Web service request, I wouldn't use the WS domain controller but a proxy of JAX - WS in a POJO to recover data from the WS. Then the data control created from the POJO. You might have a method exposed on the POJO which allows you to filter the data internally that is held

    Frank

  • J K L; And enter the key does not

    I have a Pavilion dv7-6b32us laptop.  Intel CORE i7.  Windows 7.  Nothing added, but the printer drivers and nothing lately.  Yesterday morning keyboard worked fine.  Last night the J K L; were not working.  Clean under the keys.  Then enter key does not.  Have reloaded drivers.  The Enter key on the numeric keypad works ok.  I plugged in a USB keyboard and everything works normally with him.  Any ideas?

    Hey ModernMode,

    That's the spirit! Silver linings FTW!

    You are right. You can replace the keyboard following the same guide who will also give you the part number because they keyboard so you can order it online.

    Alternatively, you can contact HP telephone Support to control the keyboard, or set up the service for them to fix it for you. You can contact HP Technical Support at 1-800-474-6836 in North America. For all other regions click here.

    Thank you for using the HP Forums!

  • Cannot just enter the key wifi - where is the dashboard?

    Hello

    I have a stupid problem. My wifi WPA2/AES key is something like "aaaa-bbbb-2222-George.

    The problem is, there is no dash (""-"") on the keyboard I tried with a space, no space, but without success. The TV detects the SSID, no problem here, but I can't go because this stupid WPA2 key. (or WEP, I don't remember, but I got the correct encryption of my PC settings).

    Any help please?

    Thank you very much
    Philippe

    Thank you for your post and welcome to the forums.

    I don't know if you knew, but the hyphen key (-) is displayed after you press the 123 on the keyboard of the screen when entering the encryption. The button will resemble the following: [.? 123]. the dash key will be enabled to use as a character, but I can't guarantee if the dashes will make exception once you press the Enter key.

  • During the installation of Windows XP, I enter the key and send a message: you have entered the CD key is not valid.

    Invalid CD key?

    Im trying to install windows xp on my old laptop from samsung before I sell, I have a copy genuine windows xp home edition (bought a few years ago), but when I get to the point to enter the product key, it says ' you entered the CD key is not valid! The key is the rear of the product then why it does not work and what I do?

     

    I thank you for all the help guys, don't really know if that it settled, but I read that if the time of bios is bad it can perform, I changed that and very well installation (so far!)

    Thank you
  • CQ60-104tu: a, s, d, f, j, k, l, enter the key on the keyboard does not

    I shut down my pc in working condition but when I turn the next morning some keys not working, row of the Middle exapt g & h all the keys does not, (a s f d j k l; enter) a s d work, but I have to press more n longer and pressing lasts.

    I tried unistallation of the keyboard driver and reboot but no improvement. is this hardware or software problem?

    1 buy a new a 2. shipped it to you and 3. install it. Where are you located (country?) is a UK English keyboard, right?

    This is the part you need:

    For use in the United Kingdom 496771-031

    Your Service Manual:

    Manual

    For instructions, see pages 17-4 to 4-19. If you prefer the video:

    https://www.YouTube.com/watch?v=-8xp89IIao8

    In the United Kingdom, looks like the keyboard is about 20 pounds:

    http://www.eBay.co.UK/ITM/HP-Compaq-CQ60-G60-laptop-keyboard-496771-031-UK-layout-/161139740069?PT=LH_DefaultDomain_3&hash=item2584ad4da5

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • You need to enter the key of product again after you reset/refresh your pc?

    Hello, I was wondering if you have re - enter product key windows 8 after reset or update the operating system

    For both refresh and reset scenarios, If no information store state or activation activation is available, or if the activation store is unreadable, the activation status will not be preserved. The user must activate again once the operation is complete.

    So, I would say, it depends on how much Windows 8 has been corrupted that force you to use either refresh or reset to 1st place.

    If I have a chance I'll try to refresh and see what happens because I have an Image return and even if the discount asks me to activate I will just restore the image.

    J W Stuart: http://www.pagestart.com

Maybe you are looking for