How to disable the back button when displaying a form

Hi ,
i have form A calling form B, when form B is displayed i want to disable the
back button in the explorer so as not to allow the user from going back to
form A.
thanks.

When you open a new window, call following javascript function also to disable the "back" button.
window.history.forward(1);
It will work.

Similar Messages

  • Deactivate the back button when i logout

    I am creating webpage with login / logout. How to deactivate the back button when i logout. and clear cookies

    There is a hard fix for this...but i don't whether this is a current approach..
    Put the javascript in the head of the page
    history.go(1);
    This virtually disables the back button..i.e when you click the back button it immediately redirects to the present page..

  • Disabling the Back button

    Hi
    How to disable the back button in the Internet Explorer in Java or Jsp or Servelts.
    Thanks in advance

    Why are you repeating the question? You posted the
    same question two days ago:Well, that was a long time ago. Technology has
    advanced since then and might have provided a
    solution.:)

  • How to disable the reminding dialog when close the webi report viewer

    Dear all
    How to disable the reminding dialog when close the webi report viewer
    Background
    When user close the webi report viewer in inforview by click the button in the right-top of the webi report viewer frame. It always prompt a dialog to remind user that the modification will be lost without saving.
    But customer need to disable this dialog, and can clost the report viewer directly.
    So is there any ways to modify this?
    I think it shoule modify some .js file under tomcat, but can not find the solution.
    Thanks a lot, any information woulde be appreciated.
    David Zhang

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • Disable the approve button when ever nonapprover login

    Hi Friends,
    i want to disable the approve button , when ever non approvers login into that requisitions page. please let me know, how to do. only approvers will have to see that approve button. can we achieve through OAF personalizations or Extensions.
    Thanks
    vamshi.

    Hi,
    You can extend the Controller of that page and in extended controller on page load
    Capture the Requistion details and valid approvers from a Prepared Statement.
    Then match the Approvers with the Login user name (pageContext.getUserName())
    If the user name is not there in the valid approvers then set the disabled property of button to true,
    bean.setDiasbled(true);
    Thanks,
    Gaurav

  • How to disable the cancel button in InputDialogBox?

    Can someone please tell me how to disable the cancel button in an input dialog box?
    thanks,

    Cross posted: [http://www.coderanch.com/t/487888/Swing-AWT-SWT-JFace/java/disable-cancel-button-input-dialog]

  • Does anybody know how to fix the back buttons?

    The back button in the browser doesn't seem to be working in my JSP page by default. Is there a code(JS or anything) I need to place in the JSP file to make the back button work?

    Hi Onamika,
    The back button in the browser doesn't seem to be working in my JSP page by default !!
    Did u disable the back button using Javascript in any of ur JSP codes in the previous pages ? If u did so, please re-enable it using Javascript again.
    If u mistakenly opened some site that has disabled ur browser's back button, then probably the only way to retrieve it back is to shut down IE, then restart ur system and then re-open that website again....but make sure not 2 go 2 that page that disabled the button.
    Hope this helps.
    Cheers !!
    Sherbir.

  • Is it possible to disable the play button when exporting to exe or app files?

    Is it possible to disable the play button when exporting to exe or app files? Can the app just boot up without the playbutton?

    Are you talking about auto play option or the play button on Playbar?
    I just checked the EXE ran fine without requiring any play button to start as per my settings.
    Is this waht you are looking to achieve?
    Thanks,
    Anjaneai

  • How to disable the trackpad button function?

    My trackpad botton goes mad, it's seems like hold you mouse's left button and you can click the right button, just can't open the file, my usb mouse works great only in Snow Leopard, in Leopard I can use none of mouse or trackpad.
    I think my trackpad button has broken, I want to disable this button, but I don't know how, can you give me some advise?
    I'm using Snow leopard( 10.6.2 ) now, how to disable the trackpad button in SL?

    I'm using Snow leopard( 10.6.2 ) now, how to disable the trackpad button in SL and keep my trackpad available, I prefer using touchpad, I think I can disable the button and still use touchpad?
    I apologies for my poor english.

  • How to disable the minimize button on the JFrame?

    Does anyone know how to disable the "Minimize" button on the JFrame (Window)?

    Why bother using a JFrame at all? Just extend JDialog, and there won't be a minimize button to worry about at all. The only drawback is that a JDialog doesn't put an icon in the taskbar, so you have to move/close other windows until you can see the JDialog window on the desktop.
    The windowMinimized stuff doesn't let you stop what the window is doing -- you just get an event telling you what happened.

  • How to disable the AET button on Web UI?

    Hi all,
    Does anyone know how to disable the AET button in the Web UI? Our customer doesnu2019t want the end users to change any configuration and the only thing left for this is hide/disable the AET functionality.
    Thank you very much in advance.
    Kind regards,
    Alvaro

    Alvaro,
    The AET should not be visible to end users, especially not in the production system.
    This should be done by authorisation.
    If you are referring to the personalization, you can disable this in the businessrole by selecting a value for the parameter PERSONALIZATION.
    If there are no values available, you can maintain them in sm30 --> PERSCV_PROFILE.
    Hope this helps.
    Regards,
    Pieter Rijlaarsdam

  • How to disable the salary button

    How to disable the salary button in "Combined Per & Asg Form WKFLW_NAME="US HRMS PERSON TASKFLOW" screen function.

    You should not modify the taskflow "US HRMS PERSON TASKFLOW" directly. Instead, create a new Taskflow that contains the navigation items you require, and then create a new function that uses the Taskflow.
    1. Create a Tasklfow
    2. Create a Function using the form "Combined Per & Asg Form" including the parameter WORKFLOW_NAME="XX HRMS PERSON TASKFLOW" (or whatever you have called it)
    3. Use this function in your menu definition.
    http://download-uk.oracle.com/docs/cd/B11454_01/11.5.9/acrobat/115hradm.pdf
    See section "Configuring Oracle HRMS" for more information on Taskflows.

  • Is there any way to disable the back button of the browser?

    Hello,
    I dont want to cache some pages in my application so that they will not get back when back button of the browser is clicked.
    Is there any way for that?
    I also want to know if the back button can be disabled.
    thanks in advance
    vakvarma

    Eh, What's happening to this forum. I read the thread, and clicked back, and got this:
    alTextPo 2000 sition)); else  setUI(new CloseableTabbedPaneUI(horizontalTextPosition)); }   /** * Allows setting own closeicons. * @param normal the normal closeicon * @param hoover the closeicon when the mouse is over * @param pressed the closeicon when the mouse is pressed */  public void setCloseIcons(Icon normal, Icon hoover, Icon pressed) {  normalCloseIcon = normal; hooverCloseIcon = hoover; pressedCloseIcon = pressed; }   /** * Adds a <code>Component</code> represented by a title and no icon. * @param title the title to be displayed in this tab * @param component the component to be displayed when this tab is clicked */  public void addTab(String title, Component component) {

  • How to handle The Back button on Module Pool screen

    Hi Gurus,
                  I have created a module pool screen. In that screen I have used some input/output fields(text box) which i have marked mandatory by making the input field as "required" under program tab.
    now when running the screen if no data is entered into these mandatory input field then BACK button does not work. First I have to enter some data into the input filed only then the BACK button works. How should i code so that the back button works even without entering the data into these mandatory fields.

    hi,
    use AT EXIT-COMMAND with the module.
    eg. module user_command at exit command.
    then there will be no problem.

Maybe you are looking for