How to submit a page and set the focus on the next field?

Hello,
I have a form with some fields and below this a report with a column link. If I change values in the form fields and I click the on a column link the changes in the fields are lost because the page is not submitted.
I try this: I set on the fields in HTML Form Element Attributes the following:
onchange="doSubmit('AENDERUNG_UEBERNEHMEN');"
And I create a branch to the same page. This works great, I dont lost the changes in the fields and I can use the column links.
But: If I want to walk through the form with the key "TAB" I have to press the key 2 times to come to the next field.
How can I submit the page and go to the next field?
Regars,
Mark

Hello Mark,
how about submitting the page when the column link in the report is clicked. To do this, create a column link with an URL target and specify a target like
javascript:doSubmit('#ID#_AENDERUNG_UEBERNEHMEN').After that I would create a process, that checks if
substr(:REQUEST,instr(:REQUEST,'_')+1) (or something like that)
equals 'AENDERUNG_UEBERNEHMEN'. If so, save the change, set the PK value of your target page to
substr(:REQUEST,1,instr(:REQUEST,'_'))  (to extract the ID)
Afterwards, create a branch that jumps to the target page.
Hope that helps
Stephan

Similar Messages

  • Redirect to another page and set the error or success message from process

    I have a process that runs when a page is submitted. In the process I am catching an exception and if an exception occurs I want to redirect to a different page and display the error message of the exception. How can this be done?
    Below is my code. The redirect works but I want to set an error message to display on page 765 which is a different page to the one with this process on.
    begin
        -- some code here
    exception when others then
        owa_util.redirect_url('f?p=&APP_ID.:765:&SESSION.::NO:::');
    end;

    >
    Please update your forum profile with a real handle instead of "973239".
    I have a process that runs when a page is submitted. In the process I am catching an exception and if an exception occurs I want to redirect to a different page and display the error message of the exception. How can this be done?
    Below is my code. The redirect works but I want to set an error message to display on page 765 which is a different page to the one with this process on.
    begin
    -- some code here
    exception when others then
    owa_util.redirect_url('f?p=&APP_ID.:765:&SESSION.::NO:::');
    end;
    Use the <tt>f</tt> function's <tt>notification_msg</tt> parameter to pass the error message in the URL:
      owa_util.redirect_url('f?p=&APP_ID.:765:&SESSION.::NO:::&notification_msg=' || apex_util.url_encode(l_error_msg)); 
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)

  • How to submit a page and return back to originating page?

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

  • Did Lion eliminate the finger gestures for show the previous page and show the next page?  I've checked system settings for the track pad and it looks like the got rid of one of my favorite finger gestures when browsing the internet.  How do I get it back

    I've upgraded to LION. It looks like LION eliminates the finger gestures within internet browsing that used to yield navigating to the previous page or navigating to the next page.  I think it was a 3 finger swipe to the left and a 3 finger swipe to the right.  It looks like this has been eliminated.  I've gone into the system preferences and went through all the new settings for the track pad finger gestures.  I've not found a combination that allows me to swipe on the track pad to do the page forward / page back function.
    How to I get this back?  I was my favorite one and now I can't get there!

    For going back to the previous page try a 2-finger gesture. Two fingers in the other direction will take you back.
    cornelius

  • How to Create a Page and provide the Page link in personalisation.

    Hi Techies,
    I have unique requirements as follow ...
    On a Page , We need to create a Link. After clicking this link , the control should open a new page and the new page details need to shown.
    I did the following ,
    1. Personalized the page. Added a new Item of the Type "Link". In URI filed I gave an existing page ( for testing ). It was working fine. But When I gave my actual page which I created in HTML(*.html extension ) , which did not worked.
    Can not we provide *html page in the URI filed of the Item type Link.
    Please help me in resolving this.
    Thanks in Advance
    Regards
    Raghu

    Guys one update if you want to create a link for a PDF file to show on to your browser use the below method.
    I used this below method for bringing the PDF file ( the file which business want to show on browser ) using the below steps.
    1. Created a Link using personalization.
    2. Provided target frame as "New Window".
    3. Provided URI : FileName.pdf.
    Note that the FileName.pdf should be kept in the $OA_HTML Path on the Unix box. The Personalization would look for the file in the path of $OA_HTML and display in the other browser which is a full file. I did not get Home and Logout buttons over there. So I suggest you to use if you in need of Loading an informative page on the Browser.
    Raghu

  • How do I get and set the double field in a Double?

    Thanks - this has to be easy but I cant find documentation

    It's immutable, so you have to provide the value when you create it:
    Double a = new Double(18.76);
    Double b = new Double("18.76");
    Double c = Double.valueOf(18.76);
    Double d = Double.valueOf("18.76");
    Double e = Double.parseDouble("18.76");Going from Double to double is easy -- I'm surprised you didn't see it in the API:
    double x = a.doubleValue();Again, Doubles are immutable, so there is no way to change the double value of a Double object.

  • I have an ipod thats from the 3rd or 4th generation, but does not have a camera and any apps I try to download it says the software is not up to date, but I checked.  How do I fix this and get the next update? My itouch is stuck with version 4.2.1.

    Please help me figure out how to get my 3rd generation ipod to have the newest software in order to download apps.  It will not let me.

    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1.
    Identifying iPod models
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • Activate Tab page and set cursor on field!

    Hi All,
    I have a requirement to mimic SAP standard functionality like whenever a mandatory field is not enetered in a transaction, the control activates particular tab page and set the cursor on mandatory field.
    My requirement is as below.
    There is a main screen 1 with many tab pages.
    But when I click on save button, the control goes to different screen. When a partular field is not enetered, then I should put my control to a particular tab page and cursor on that initial field.
    Please help me to get this done. Al I think is SET SCREEN but not sure how I can eneable the control to a particular tab page and cursor on a field from the different screen.
    Many thanks.
    -Pratyusha
    Edited by: pratyushasdn on Jun 24, 2010 2:07 PM

    Hi chandrasekhar find my code below
    this code i am writing under  at selection-screen.
    *&      Form  Z_VALIDATE_TVKOV
    FORM z_validate_tvkov .
      DATA: i_vtweg LIKE vbak-vtweg.
      IF NOT s_vtweg-low IS INITIAL.
        SELECT SINGLE vtweg FROM tvkov INTO i_vtweg
                     WHERE vtweg = s_vtweg-low.
        IF sy-subrc <> 0.
        set cursor FIELD 'S_VTWEG-LOW'.
        MESSAGE e000(z_sd) WITH text-052.
        ENDIF.
       ENDIF.
      IF NOT s_vtweg-high IS INITIAL.
        SELECT SINGLE vtweg FROM tvkov INTO i_vtweg
                            WHERE vtweg = s_vtweg-high.
        IF sy-subrc <> 0.
          MESSAGE e000(z_sd) WITH text-052.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Z_VALIDATE_TVKOV

  • To advance to the next field

    Hello folks.
    How can I do to advance to the next field ? The limit the
    caracteres 10 go to next field.
    Best
    Rgds

    It sounds like you want to create a sort of serial number
    array of entry fields. Here's a behavior that you could drop on a
    set of text or field sprites. It will not prevent the last sprite
    in the series from accepting more than its fair share of
    characters, but it will get you started:

  • How to set the expires field to stop caching of pages

    I want to set the expires fields of the HTML data on pages delivered by weblogic, so caching servers(ie ISA) and clients dont cache the my pages. How do I do this?
    Thanks for any help

    I guess that's the NI Domain (NI Security Login) user name. Check out Tools->Security->Login in LV main menu.

  • How can i stop Pages and Numbers JUMPING ALL OVER THE SCREEN. MAKING ME SEASICK! PLEASE HELP

    how can i stop Pages and Numbers  screen JUMPING ALL OVER the place when i just touch my mouse. i have tried and tried to change the mouse settings - but it is the software. especially Numbers. you can't even see what the page size is until you print. i am so SEASICK! PLEASE HELP.

    Thanks for the trouble to reply. this problem only happens with Pages and Numbers for me. i have done all the tricks like restarting. the main problem is that the working space is not 'stable' - it has no 'ends' even on full screen. in Numbers - UNLESS I SET IT TO 25% VIEW (which is way too small) - the actual total 'work space' is way off the grid - so every time i move the mouse the table i am working on zooms off to left or right, at the slightest touch. i have set my mouse to no gestures!
    the thing is this did not happen before the latest upgrades.
    but thanks anyway. SG.
    if you are a techy person - i have another prob. in Mail i am unable to set the SORT / VIEW messages to BY DATE.
    (it used to be ok, at one time, too). now it continually reverts to BY SUBJECT oh so annoying !
    restarting etc does not change it. resetting preferences does not change it.
    maybe i need a new Mac ?
    mine is a 27-inch, Mid 2011. running latest.

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • How do I get Pages to capitalize the first word of a sentence and the letter 'I?"

    How do I get Pages to capitalize the first word of a sentance and the letter "i" automacticly?

    I am also having this problem. Does anyone have an answer?
    I jus upgraded from Pages 4.3 and it's in Preferences. Not so in Pages 5.0.

  • How do I put page number at the center of the bottom of page one and the rest of the page numbers at top right corner?

    How do I put page number at the center of the bottom of page one and the rest of the page numbers at top right corner?

    Put a section break at the bottom of page 1
    Then insert your page number in the footer of page 1.
    Go to page 2 and click in the body of the text;
    Inspector > Layout > Section > uncheck Use Previous Headers & Footers > click in Header on page > insert > Page Number
    Peter

  • How do I get page numbers on the left and right side of the page?

    I am finishing up a book in PAGES '08 on my Mac.
    How do I get page numbers on the left and right side of the page.
    I can get them on the page but I'd like them on the left and right sides.
    Evan

    If the icons are from dmg files that were used to install 3rd party apps like this one for VueScan
    Control (right) - click on the open dmg icon and select "Eject  xxxx" from the contextual window.
    Then find the actual dmg file associated with those icons
    and drag to the Trash in the Dock and empty.

Maybe you are looking for

  • Error in compiling Berkeley xml database sample...

    hi, I try a sample code found in "Apress- The Definitive Guide to Berkeley DB XML" here is the code: #include <iostream> #include "dbxml\DbXml.hpp" using namespace std; using namespace DbXml; int tmain(int argc, TCHAR* argv[])      XmlManager myManag

  • A graveness bug of jsf!!! to jsf developer!!!!!

    i write a jsp constituted by jsf components,i not specified id of some components,such as a output_text ,and debug found that jsf not create id for this UIoutput component,the getComponentId() of this UIoutput return null!! this result in some oddnes

  • Datapump Export Error

    Hi All, I am using oracle database 10.1.0.4.0 - 64bit on solaris9. While exporting whole database through expdp i got following error: ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB

  • SRM PDP Screnario related issue

    Hi, We are on SRM7.01 with ECC 6.0 EHP 4. This is in reference to Plan Driven Procurement. Issue : Any Change in PR is subjected to release stratergy but on change only "without release" data transferring to SRM. Changes like " Qty, Delivery date" et

  • I CAN'T CANCEL MY PLAN

    Hi, I must cancel my Colud plan and I tried to do it following the instructions a lot of time, but the problem is that when I click on CANCELLA PIANO (cancel plan), they don't ask me tha password but I have to call the assitance. Every day I try but