Set to press the enter key to move to next field on form? 9 pro ext-

i have creasted a form. I want the person who is using the form to not have to tab to go to the next line. I would prefer to  have the person fill the field and press enter, then the cusor should move to the next file of entry. (instead of tab) I can figure out how to do this. HELP PLEASE!

It's possible, but you have to use JavaScript. For example, create a new document-level JavaScript and add the following function to it:
function goNext(sNextField) {
    // Set the focus to the next field
    if (event.commitKey === 2) {
        getField(sNextField).setFocus();
You then have to call it like this from the Format (or Keystroke) event of a text field:
goNext("text2");
Where "text2" is the field name of the next field.

Similar Messages

  • Unexpected behaviour upon pressing the 'Enter' key on dialog screen

    Hi.
    I have two dialog screens that exhibit unexpected behaviour when i pressed the 'Enter' key.
    Screen 1: When I pressed the 'Enter' key, the focus shifted to another input field and the content of the previous input field is cleared. The thing is, I did not have any codes in PAI for 'Enter'. Why is this happening?
    Screen 2: On load, some of the fields on this screen will be disabled. However, when I pressed the 'Enter' key, all the disabled fields become enabled. Again, I did not have any codes that handle the 'Enter' key in PAI. Why is this happening?
    Any help is appreciated.

    Hi Atish.
    Yes, I have used CHAIN... END CHAIN.
    I thought that CHAIN... END CHAIN allows my input fields to be re-activated after an error message is displayed.
    How would CHAIN... END CHAIN cause the unexpected behaviour?
    Thanks.

  • Pressing the ENTER key in first tab -- a button in another tab is pressed?

    Hi guys, 
    I am facing a problem. I have a tab with 4 different tabs. When I am in the first tab, and trying to change a control's value by pressing the Enter key, it suddently switches to the seconds tab and presses a button there. 
    Any idea how that happens? I want to prevent that from happening. 
    Thank you
    Solved!
    Go to Solution.

    Sounds like you have the enter key assigned to some key navigation of another control. This is a general problem with the OK button of the system palette. Here is more information.
    LabVIEW Champion . Do more with less code and in less time .

  • Firefox is not loading specific websites for me. Sites like Facebook, Ebay, Google, and Netflix refuse to open, or even acknowledge me pressing the Enter key

    Firefox is not loading specific websites for me. Sites like Facebook, Ebay, Google, and Netflix refuse to open, or even acknowledge me pressing the Enter key when I type in the address or click a link to that site. Practically every other site works perfectly fine. I did not change any settings or download any new addons prior to this problem, it just started happening. I have done everything I can find in the forums; resetting firefox, clearing cache and cookies, making network settings use no proxy, reinstalling, and today I uninstalled Firefox, updated and scanned my computer with all 3 software I use (AVG, Malwarebytes, and Spybot), found no issues, restarted my computer, and reinstalled a freshly downloaded Firefox setup without importing any settings or doing anything other than a totally clean install, and still nothing. Chrome and IE still are able to access every site perfectly fine. I have no idea what the issue is or how to fix it, as I've tried everything I know and could research.

    Hi There,
    Sorry to hear of your issue. I found a great article for you to read and explain how to fix your issue. I hope this hope :)
    Robert
    Click on the link below
    [[https://support.mozilla.org/en-US/kb/firefox-and-other-browsers-cant-load-websites ]]

  • How to press the enter key then execution Form?

    Using:SAP B1 UI Form for C#
    How to press the enter key then execution Form?
    thanks
    Edited by: JackyChang on Jul 5, 2010 5:35 AM

    Hi JackyChang,
    Use the SendKeys method.
    VB Sample
    oApplication.SendKeys("{ENTER}")
    Regards,
    Vítor Vieira

  • Pressing the enter key on the keyboard

    Need to know the trigger or the way to attribute code to pressing de enter key on the Keyboard!!!???
    Thanks!!!!!

    Hi Carlos,
    By default, the ENTER key takes the cursor to the next navigable item in the block.
    To override this default behaviour it is necessary to modify the forms resource file to revise the key mapping details.
    Refer to article 209671.1 on Metalink: How to Change / Customize the Key Mappings for 6i and 9i Webforms?
    Read the section 'B: Mapping for ENTER to fire KEY-ENTER-TRIGGER over the Web'
    Regards,
    Monica

  • How to execute code when press the ENTER key

    Hello,
    I've write the code in Key-ENTER trigger, but it doesn't work when I press ENTER key.
    Best Regards
    Joe

    Matth M
    Thank you.
    The following msg. from help system shows that key-enter trigger will execute when the ENTER pressing event occurs. Need your more help.
    Regards
    Joe
    >
    (index: "DO_KEY" )
    Executes the key trigger that corresponds to the specified built-in subprogram. If no such key trigger exists, then the specified subprogram executes. This behavior is analogous to pressing the corresponding function key.
    Built-in............Key Trigger............Associated Function Key
    ENTER............Key-ENTER............[Enter]

  • Tab key to move to next field

    Under iPhone OS 2.x or 3.x, is there a way to cause the keyboard focus to switch to the next field? Like hitting the tab key under Mac OSX.
    I'm trying to do my 'object add' screen and want, ideally, to do it as a table view with a section, title, and cell for each of the 9 data fields.

    Hi Phil - I've been playing with a test bed, trying to get it to do what you described. It's close to finished, but I need to quit now and won't be able to get back to it until Sunday. Here's what I've got so far. Maybe you'll be able to finish it before I do:
    // RootViewController.h
    #import <UIKit/UIKit.h>
    #define kTableViewSections 9
    #define kTableViewRowHeight 36
    #define kTextFieldTag 100
    @interface RootViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate> {
    IBOutlet UITableView *theTableView;
    @property (nonatomic, retain) IBOutlet UITableView *theTableView;
    @end
    // RootViewController.m
    #import "RootViewController.h"
    #import "BlueAppDelegate.h"
    @implementation RootViewController
    @synthesize theTableView;
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return kTableViewSections;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 1;
    - (NSString)tableView:(UITableView)tableView
    titleForHeaderInSection:(NSInteger)section {
    return [NSString stringWithFormat:@"Field %d", section];
    - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
    return kTableViewRowHeight;
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    static NSString *CellIdentifier = @"Cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    CGRect textFieldRect = CGRectMake(20, 4, 280, kTableViewRowHeight-8);
    UITextField *textField = [[UITextField alloc] initWithFrame:textFieldRect];
    textField.backgroundColor = [UIColor lightGrayColor];
    textField.font = [UIFont systemFontOfSize:22];
    [textField setAutocorrectionType:UITextAutocorrectionTypeNo];
    textField.tag = kTextFieldTag;
    textField.delegate = self;
    [cell.contentView addSubview:textField];
    [textField release];
    // find the text field and set its tag based on the current section
    for (UIView *txtField in cell.contentView.subviews) {
    if (txtField.tag >= kTextFieldTag) {
    txtField.tag = kTextFieldTag + indexPath.section;
    NSLog(@"cell: Found %@ tag=%d", txtField, txtField.tag);
    break;
    return cell;
    - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    return nil;
    - (BOOL)textFieldShouldReturn:(UITextField *)textField {
    // textField is the current first responder
    NSLog(@"textFieldShouldReturn: textField.tag=%d", textField.tag);
    [textField resignFirstResponder];
    // scroll the next cell into view
    int nextSection = (textField.tag - kTextFieldTag + 1) % kTableViewSections;
    NSLog(@" nextSection=%d", nextSection);
    NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:nextSection];
    [self.theTableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:NO];
    // find the textField for the cell and make it first responder
    UITableViewCell *cell = [self.theTableView cellForRowAtIndexPath:indexPath];
    for (UIView *textField in cell.contentView.subviews) {
    if (textField.tag >= kTextFieldTag) {
    NSLog(@"return: Found %@ tag=%d", textField, textField.tag);
    [textField becomeFirstResponder];
    break;
    return YES;
    - (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    NSLog(@"viewDidAppear");
    // find the first text field and make it first responder
    NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
    UITableViewCell *cell = [self.theTableView cellForRowAtIndexPath:indexPath];
    for (UIView *textField in cell.contentView.subviews) {
    if (textField.tag >= kTextFieldTag) {
    NSLog(@"appear: Found %@ tag=%d", textField, textField.tag);
    [textField becomeFirstResponder];
    break;
    - (void)dealloc {
    [theTableView release];
    [super dealloc];
    @end
    There are three jobs on my todo list:
    1) Bug fix: In textFieldShouldReturn, I had to turn off the animation for scrollToRowAtIndexPath because when the focus wanted to wrap from section 8 back to section 0, the cell for section 0 wasn't ready. I think we need to wait for the scroll animation to end before trying to reset the focus;
    2) Bug fix: The contents of each text field needs to be saved as soon as it loses focus. The saved text then needs to refresh the section when it next becomes visible. Right now you'll see, for example. the text from section 1 reappears in section 6 when that section becomes visible. Of course, this is because the cell from section 1 has been reused for section 6. So the contents of each reused text field needs to be cleared and refreshed from a cache in cellForRowAtIndexPath;
    3) Clean up: I use a for loop to find each cell's text field. I can't simply use viewWithTag because the tag is within a range instead of being a constant. There are three of these loops, so that code wants to be in a helper method. Of course, if you're using a subclassed cell, you won't need those loops, since the text field can be a property of the cell.
    I'm sure there willl be other odds and ends to clean up, but I think the above structure might do the job for you. Please let me know if you have things working before Sunday afternoon.
    - Ray

  • RE: PRESSING ENTER KEY TO MOVE TO A NEW LINE INSTEAD OF SENDING TEXT MESSAGE ON Q5

    I'd rather use the enter key to move to a new line than to send message. I previously used this on curve 9300 and I'm frustrated right now I'm unable to figure how to move to the next line on this Q5. I thought the Q5 will be an improvement on the curve. I'll will be disappointed if there is no way about this. Can somebody help please?
    Solved!
    Go to Solution.

    Hi curio
    From Blackberry Hub, tap three dots at bottom right > Setting > Text Messages > Use enter key to send > OFF. It will make a new line if you press enter key.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • 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!

  • The "Enter Key"

    After building a form to collect data - the user cannot use
    the keyboard's "Enter Key". Why? Even if the user tabs over the
    "Submit Button" and hits "enter" on the keyboard - nothing happens.
    The user must move the mouse over the "Submit" button and left
    click.
    What code do I have to include to perform this user input?
    Thanks for any ideas.

    The Button is designed to be pressed using the space bar. If
    you want the Submit button pressed whenever a user presses Enter,
    then, set the defaultButton property on your Container that the
    Button is in. Here is the ASDoc on defaultButton:
    defaultButton property
    defaultButton:IFlexDisplayObject [read-write]
    The Button control designated as the default button for the
    container. When controls in the container have focus, pressing the
    Enter key is the same as clicking this Button control.

  • Why isn't the enter key working in InDesign?

    I have installed Adobe InDesign CS6 as creative cloud but pressing the enter key on the numbers keypad doesn't move my text to the next page as it should but just drops it to the next line. What can I do to resolve this?

    Windows Laptop? Some of them have both the enter keys mapped together, and changing the state of the Numlock will swap between functions. If that's you, edit the shortcuts so bothEnter keys are a paragraph break, and make a new shortcut for page break (Numpad enter is actually a column break, by default).

  • Why doesn't the enter key respond when saving a web page?

    go to save a web page, complete and when i press the enter key it doesn't work. i have to move the mouse pointer to the save button and click it that way but it slower this way. why won't it let me just push the enter button on my keyboard to save?
    any way to fix this?

    The '''<u>S</u>ave''' button has focus in the Save As window for me, and hitting either Enter or S will work.
    But if I change the File <u>n</u>ame or select a different file Type I have to use the mouse to save it; the focus is away from the Save button.
    If it doesn't work that way for you, see how it works when using the '''Firefox SafeMode'''.
    https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

  • How to go around the enter key

    Hi all,
    I have the data show on the grid. I modified it and didn't press the enter key, the commit
    (save) icon in the navigator bar doesn't high light.
    Is there a way to go around that? Make it high light whenever the data change.
    Thanks
    null

    expanding on that same logic, I removed both pauses and now it does run without having to press enter at the beginning or the end.  I haven't added the /Y yet, but I don't get a message about overwriting the existing file.  For this sample,
    it's not important, but I will remember that for down the road.  Thank you so much!
    Thanks for the feedback. Note also that
    "echo off
    should read
    @echo off
    The prompt instruction serves no purpose.

  • JFileChooser - activating buttons with the enter key

    Hi All,
    I am trying to figure out how to activate the cancel button in the file chooser by tabbing to it, and than pressing the enter key. I know how to do this in a regular dialog, but I can't seem to get the access I need to the JFileChooser to get it to work there.
    I would appreciate any help.
    Thanks!
    robinste

    The Buttons in the File Chooser by default dont use the Enter Key.
    You must make the Enter key work if you are to use it
    after you tab to get the focus on to it.
    For this to be done you will need to extend the FileChooser
    and change the key listener for the cancel button .......
    Hope t was of some help ............

Maybe you are looking for

  • Mail.app stopped working over IMAP to exchange 2003 server

    Hi Peoples, I'm posting this as a problem with the solution simply because of the absolute bizarre behavior that I observed.... PROBLEM On Thursday night, without me having made any changes to either my mac or my exchange server, mail.app just stoppe

  • TS2972 An error occurred loading this content try again later

    I get this error constantly while trying to watch content on my Apple TV. I have changed my Apple ID, reset to factory settings, rebooted my Mac, stood on my head and threatened the device with violence. Nothing allows me to watch content I have paid

  • What are the common fields in table KONV = J_1IEXCHDR,EKKO,EKPO,MSEG

    Helo everyone, I need wht are the common fields between table of KONV and J_1IEXCHDR,EKKO,EKPO,MSEG. Pls give me details thanks in advance suresh

  • I can't import P2 footage

    I have an old project that needs some changes. The footage I need to add was never imported the first time around. When I go to the log and transfer window, I can't add the P2 folder for this project, or any project for that matter. I'm using FCP 6.0

  • Report Painter - Display Report

    Dear Friends, While displaying/changing Z reports from GRR3 transaction, we are getting short dump. The dump does not occur for standard transactions. The error occuring is: The current application program detected a situation which really should not