Create record by the enter key

I have a form with 10 items. Looks like this
P16_ID hidden
P16_Created_on Date Picker
P16_Order_No Text Field
P16_Origin Display as Text(saves state)
P16_Destination Display as Text(saves state)
P16_Bill_To_Location Display as Text(save state)
P16_Rate Text Field
P16_Code Select List
P16_Carrier Select List
P16_Weight Text Field(always submits page when enter pressed)
I want the people to be able to key in the information and after the weight hit enter and it submits the page. Then it allows you to key in your next loads then when you get to weight hit enter again and so on. I do not want to have to use the create button because that takes longer to key the information in when you have to take your hands off of the keyboard and click create. The problem I keep getting is a branching error and the always submit page when enter pressed don't seem to work. I have version 1.6. Please help

I believe that APEX submits a page when the enter key is press by default. However, I noticed that when you have a hidden field present in the form you get the branching error message. .
If you change your hidden fields to regular text fields, this will take care of the problem. Of course, this may not be the best on your form, showing your ID on a regular text field.
I am not sure if APEX developers intended to have it like this or if this is a bug.
I hope this helps.

Similar Messages

  • Hotkey "Create Record" while the form is in enter-query-mode

    pressing the hotkey F6 for create-record while the block is in enter-query-mode results in the error - message:
    Function key not allowed. Press Ctrl+F1 for list of valid keys.
    The error-occurs although I created a trigger KEY-CREREC. The trigger isn't executed
    In older Forms versions the behaviour was different. Is there a way to let the form work like in the old versions?

    thnx for reply.Problem not solved.
    i m trying to assign the value of text item to a variable in pre-query trigger. i m able to get the value into variable when the string in the text item does not startwith <,>,=. but when the string starts with any one of the operator (<,>,=) it gives error.
    lenth of variable is 1000 charaters, and text item's max leanth is just 4 charactres.

  • Button that always works when Unde the Enter key to record the information?

    Hello everyone,
    How do Oracle Express, a button that always works when Unde the Enter key to record the information
    and every time I write some information that the cursor is placed back into the Text Field item only on my screen
    order to optimize this process
    I appreciate your cooperation and attention ...
    good day ...
    Reynel Martinez Salazar

    Hi,
    First, you should change your text item to a "Text Field (Always submits page when Enter press)" item. This adds a call to the submitEnter() javascript function which will submit the page when you press Enter while in the text field.
    Second, on your page, edit the Page definition. In there is a setting called "Cursor Focus" - set this to "First Item on Page". When the page is loaded, this will put the cursor into the text field.
    Andy

  • Suggestion needed: Where to catch the 'Enter' key

    Hi,
    Could someone give me guidance. Below is the background and question of what I would like to do. (Note: There would be so much code I am hoping that someone can understand this without it but I will look later tonight at your possible responses to determine if I need to add some code snippets.)
    BACKGROUND:
    I have an application with a JTabbedPane added to the content pane of the JFrame.
    The JTabbedPane has five JPanels added as tabs each of which extends ActionListener. When it creates each JPanel it passes itself as the argument (this).
    Each of these 'major' JPanel tabs has several (2-4) 'mini' JPanels added to them and all the various JButtons, JComboBoxes, and JTextFields are added to the 'mini' JPanels.
    The JComboBoxes and JTextFields are enclosed in my own separate wrapper classes so I can do some special validation, etc.
    One of the 'mini' JPanels is always named 'buttonPanel' and is where the 'cancel' and 'continue' JButtons are added. The buttons are registered with an ActionListener and allow access to the next 'major' JPanel after some checks are performed. Right now the buttons are caught by the ActionListener of each 'major' JPanel
    I WOULD LIKE TO:
    I would like to have the 'Enter' key perform a 'continue.doClick()' on whatever 'major' JPanel is active (there are many validations to be done on each 'major' panel before the continue button can allow the user access to the next tab). There are from 1-3 other buttons in the same buttonPanel as the 'continue' button so if any of them have the focus then the 'Enter' key action should be handled by them.
    I would like to have the 'Escape' key perform a 'cancel.doClick()' on whatever 'major' JPanel is active. The 'Excape' key does not have to defer to any other button actions like the "Enter" key does.
    Where would I extend the KeyListener? The JTabbedPane has a changeListener method that keeps track of what tab I am on, would this be someplace that could help keep track of what 'major' JPanel continue button should be called?
    Thanks very much.
    hopi

    You can use an InputMap and ActionMap combination to map an action on the JPanel that is currently selected to the Enter key.
    This will allow you to add an ActionListener which is called whenever the enter key is pressed. Then you can cycle through the available buttons and determine which on has focus and call doClick on it. The cycling may require you to place all the buttons in an Array or a Vector.
    ICE

  • How the "enter" key in small keyboard works?

    I create a string control and try to input a string ended with "enter". I can't use the "enter" key in small keyboard (right part of key board). Only the "enter" key in the main keyboard works. Why?

    > I create a string control and try to input a string ended with
    > "enter". I can't use the "enter" key in small keyboard (right part of
    > key board). Only the "enter" key in the main keyboard works. Why?
    >
    Another thing that helps to control this is the Tools>>Options setting
    for swapping the behavior of the two keys. Also, a Shift modified big
    return key acts like the small key in most situations.
    Greg McKaskle

  • I just downloaded (updated) Firefox to V 20.0.1 now the "search" does not work, either via the mouse click or the enter key. Windows XP.

    Updated to latest version, V 20.0.1 Now when on the home page the "search" does not function with mouse click or the enter key. Currently running XP Service pack 3. I also have the same problem (after same firefox update at home with my HP laptop running Windows 7.

    You can check if you still have the XML files of the default search engines including Google in the searchplugins folder in Firefox program folder.<br />
    If not then you need to reinstall Firefox.
    Try to use the SearchReset extension to reset some preferences to the default values.
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    Try to delete the search.json file and a possible search.sqlite file in the Firefox profile folder.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Firefox will rebuild the search.json file from the default search engines in the searchplugins folder in the Firefox program folder and the searchplugins folder in the Firefox profile folder.
    Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Can't get the Enter Key to work!

    Hi,
    I have a problem with the Enter key. I use a JDialog with TextInput and a button. I want that if you press ENTER key it will do the same as a click of the button. Here my KeyListener code:
         this.getRootPane().setDefaultButton( cmdConnecter );
         this.addKeyListener(new KeyListener() {
              public void keyPressed(KeyEvent e) {
                   if (e.getKeyCode() == KeyEvent.VK_ENTER) {
                        cmdConnecter.grabFocus();
              public void keyTyped(KeyEvent e) {
              public void keyReleased(KeyEvent e) {
                   if (e.getKeyCode() == KeyEvent.VK_ENTER) {
                        cmdConnecter.doClick();
    When I execute this code it doesn't work unless I press ctrl + Enter. I tried with other keys and it work fine.
    Thanks very much!

    Hello Crete!
    If your dialog such simple you can use one of the JOptionPane method
    to create your dialog in 1 (ie ONE!) line! These methods sets the default
    button to OK so you don't need to do anything.
    If you don't like this way you only need to set the default button.
    You do not need any event handler.
    Maybe (I am not sure) the getRootPane().setDefaultButton( cmdConnecter );
    is wrong try getContentPane().setDefaultButton( cmdConnecter );
    instead.
    Hope it helps you
    Feri

  • Help!! I can't find how to get the enter key......

    Hi...
    I am information technology student. I am now first year second semester
    I need help because I don't know how to catch the enter key in JTextField.
    I want to submit the form when user press the enter key in JTextField....
    I only can find KeyEvent.VK_ENTER ( actually that is not what I want)
    Another thing is
    "How to add a JMenuItem into a JMenuItem...."
    I want to do like this.... When you click the "Tools bar" in View item.. another menu comes out...???"
    He he... I hope you all can understand what I mean.. because I know my english is not so good... because I am from Myanmar.
    for(int i=0;i<1;i--)
    System.out.println("Thanks A lot");
    Thu Rein Nyo...
    You also can reply by e-mail.. thanks

    Hi...
    I am information technology student. I am now first
    year second semester
    I need help because I don't know how to catch the
    enter key in JTextField.it can be done easily by adding an actionListener to the JTextField. So when u enter something in the field and press enter the event will be caught and the code which u write in that will get executed.
    Eg:
    JTextField.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    Your code comes here.
    Another thing is
    "How to add a JMenuItem into a JMenuItem...."
    I want to do like this.... When you click the "Tools
    bar" in View item.. another menu comes out...???"I think you are gettin confused with JMenu and JMenuItem. What u need to do is create a JMenu add another JMenu to it and add JMenuItems to it.. and ur problem will be solved.
    He he... I hope you all can understand what I mean..
    because I know my english is not so good... because I
    am from Myanmar.
    for(int i=0;i<1;i--)
    System.out.println("Thanks A lot");
    Thu Rein Nyo...
    You also can reply by e-mail.. thanks

  • Assigning the 'Enter' Key?

    Hello there,
    I've created a form using Flash and would like to make it so
    that the users of the form can simply hit the 'Enter' key and their
    data submitted; instead of having to click the 'Submit' button.
    Thanks in advance,
    Kristopher (UK).

    Look up the Key class in the Help - specifically Key >
    ENTER
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to refresh changed data in a plannable template with the Enter Key

    Hi,
    The situation I face is as follows.
    Integrated Planning is being implemented as a tool for budgeting. The user changes a value in a plannable cell on the portal and wishes to see the new updated data by pressing ENTER. Currently we have provided a REFRESH button so that the user gets the desired result.
    Is it possible to see the updated value by pressing ' ENTER' and if so , whats the way around to do it.
    thanks in advance.
    Jaya

    Hey guys,
    I'm interested too in this solution. In BPS there is an additional function described in the HowTo Paper HowTo run planning functions on save and other events
    Now I'm looking for this possibility in IP as well in excel-based IP and web-based IP. For example a copy function should be executed automatically when pushing the enter key.
    Thanks a lot!
    Clemens

  • Since upgrading to Firefox 10.0.2 my AVG extension has had to be disabled, as after typing in any web address in the address bar, the enter key had no effect and I could not go to the site without pressing the Reload arrow on right.

    I have recently upgraded Firefox to the latest version 10.0.2. After that I could not enter any website address and press the enter key and get to the website, nor could I select a website from the dropdown list of previously visited websites. The only way I could get there was by pressing the arrow on the right side of the address box (Reload current page). Once I disabled the AVG extension, everything worked normally. As soon as I enabled the AVG extension, it stopped working again.

    Follow these steps for the controls to work:
    # Start > Programs > Mozilla Firefox > Mozilla Firefox
    # Find the “Tools” menu at the top of the browser window and select “Add-ons”.
    # Click on the “Extensions” icon to make sure you’re in the correct option menu.
    # Locate “AVG Safe Search” and click on the containing line to highlight and select the add-on.
    # Click the “Disable” button and close the Add-ons window.
    # Close down any Firefox windows you may have open.
    # That’s It – You’re Done!

  • How can I prevent forms from being prematurely submitted when users click on the  "Enter" key?

    Is there any way that I can prevent Dreamweaver CF submission forms from being prematurely submitted by the user when he/she clicks on the "Enter" key before they have completed the form?  I need the users to finish form and click on the "Submit" key.  I have the "Submit" key action configured as "submit form"

    Thank you!
    Found a solution through Google.

  • How can I remove the "enter" key from the keyboard? (New Macbook)

    I have the last white macbook, I spilled beer in a couple of keys, I managed to removed them without problems, but I can't find the way to remove the Enter Key, and there is no help on internet Anyone?

    What characters are you talking about exactly and why would you want to remove any?
    There is really no way to modify Apple's keyboards or add your own in iOS, but there are some apps that may provide a work around.

  • After 2/5/2012 update to 10.0, the enter key no longer functions on the URL bar. (Running Windows 7 Home Premium on 64 bit Intel Core i3)

    The URL line accepts text, but using the "Enter" key generates no response. The right arrow at the end of the URL line will take me to the URL.

    https://support.mozilla.org/en-US/questions/917446
    thank you

  • The enter key to login pages no longer works in Firefox 5

    After upgrading to Firefox 5 hitting the enter key after entering my password on login page does nothing. Before it would submit the page. This was a problem with the beta, too, and I had to downgrade to 4 to fix it. That works fine in 4.

    Yes, this is a stupid behaviour. I have it too. Also, in textboxes it doesn't give me new line.
    The form sending you can solve via hitting Ctrl + Enter.

Maybe you are looking for

  • First Time Making PKGBUILD: xhotkeys

    I wanted to try out a keybinding program called xhotkeys (I like to look aroudn for alternative programs constantly, and noticed that xbindkeys has quite a few dependencies), but when I went to install it from the AUR, it gave me some errors. (Namely

  • When-validate-trigger

    Hi All I want message('please check the order'); and my code is DECLARE      a VARCHAR2(200);      b varchar2(200); BEGIN      select s.sale_order_no||sd.prod_id||sd.color,s.PERFORMA_TYPE INTO a,b  from sale_order s,sale_order_detail sd      where s.

  • Monitor in DB2

    Hi,   Iam new to db2,clarify my small doubts,how to monitor the database in db2 ,how to do archive log off mode. Thanku

  • IPhone Mail Not Showing Images.

    In my mail account within the message I'm not seeing any images. All that shows up is the blue question mark. I'm using .mac or .me whatever it's called. it's rather frustrating. Any ideas?

  • EJB3 customizing/extending question

    I have an EJB module with some stateless session beans in it. They all are quite obviously currently deployed. I started down the road on the following thought experiment, which I'm fairly convinced is invalid, but thought I'd ask. Suppose I "buy" th