Opening a new form by clicking a button...

How is it possible to open a new form by clicking a button in a form? I have tried following methods:
htp.formOpen(owa_util ...
go('<URL>'),
call('<URL>'),
portal30.www_user_utilities.get_url ...
portal30.wwa_app_module.link ...

Kaj,
Add following code in the '... before displaying the form.' event on the 'Additional PL/SQL Code' tab.
htp.p('<script language="JavaScript1.3">
< !--
function runForm()
window.open("http://www.yahoo.com");
//-->
</script>');
Add a call to this function in the 'onClick' event from the 'JavaScript Event Handlers' for the button.
runForm();
Hope this helps...
Nancy.

Similar Messages

  • Opening a new form from a button places it behind the calling form.

    From the sales order form clicking a schedule button opens up a new non modal window . On this window I need to add a new button to open a new form(SOO.fmb) .
    I tried using the FND_FORM.EXECUTE function, the new form opens but it is positioned behind the sales order form. I tried using call_form , even this positions the new form behind the sales order form.
    How do I open the new form as the active form ?
    thanks
    satya

    Please clarify what you are talking about. Is this an Oracle Applications (i.e. E-Business) form or is this a form/application you created? What product versions are you using? Do not provide product names like 10g, 11g, etc. Please provide product versions.
    That said, if you are opening new form or browsers using WEB.SHOW_DOCUMENT, there is a known Sun bug which causes this problem when using the Sun JRE 1.6.0_xx. This issue can be worked around by disabling the JRE setting "Enable the next generation Java Plugin...". This setting is found on the Advanced tab of the JRE Control Panel under "Java Plugin". This bug is expected to be fixed in Sun 1.6.0_18. This version is not available to the public at this time.

  • In the previous version of Firefox you would open a new tab by clicking on the small "Open New Tab" button at the Right Hand Side of the Tabs. This button has now disappeared in my upgrade.

    I just installed Firefox 4. In the previous version you would open a new tab by clicking on the small "Open New Tab" button at the Right Hand Side of the Tabs. This button has now disappeared in my upgrade. Firefox help still says you can open a new Tab by using the "Open New Tab" Button so how do I get it back??

    I got it back by going to "customize toolbar" and hitting "restore default set"! Now there is a small tab next to my open tabs with a "+" on it.

  • Modal dialog and new form after click on save do not jump to the list form

    Hey
    I want to open a list new form in a modal dialog. After the user click on the “Save” or “Cancel” button modal dialog close and the user not jump to the list view.
    How can I do this?
    Thanks for help.
    Stefan

    If you are using a URL to open the new form then you can add the following parameter to the URL to redirect them to wherever you wish after the form closes: Source=URLToRedirectTo
    For instance if the URL you were using was:
    http://XXX/Lists/ListName/NewForm.aspx you would add the Source parameter as:
    http://XXX/Lists/ListName/NewForm.aspx?Source=URLToRedirectTo

  • Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option

    Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option...it seems like a lot of the options/buttons are non-pressable??

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbYLC/3.11.3.15590
    See:
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Opening a new form using a different connect string

    Hi All
    I have the following requirement. I want to open an new form (when button pressed) using a different connect string. I am planning to use open form so that the new form has its own session. But I donot want the new form to connect to the same database. How do I pass the database that I want to connect using open form.
    Rgds
    Arvind Balaraman

    The only way to change the connection is to execute the built-in LOGIN and connect to the desired database. You cannot pass this through the OPEN_FORM built-in.
    Example:
    LOGOUT;
    LOGON(uname, upass || '@' || conn_str);
    However, be aware that this will impact the first form too. This is expected behavior.
    See Oracle Bug 5004661 or the Forms Online Help for more details.
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=designing_forms/multform_db/at0505.html

  • 2010 Review Approval Workflow Error - Outlook cannot open a new form

    Hi,
    I set up an Approval - SharePoint workflow on a document library list in a webpart.  When the approver got the email and tried to approve from outlook, she received the following error.  She has approved documets in the past for the same page. 
    Can anyome please help me troubleshoot this?  So much appreciated!
    Word Error:
    Could not open.  http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 2010/Review Approval_Task_1033.xsn
    Outlook Error:
    Outlook cannot open a new form. To open the file, access to the folliwng form template is required
    http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn

    can she open the approval form in web browser instead of Outlook?
    According to the error message, it seems that the user does not have permission for the file http://<site url/_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn.
    can she open see this file in SharePoint designer 2010? that is, open the site with SharePoint designer and navigate to All Files->_catalogs->wfpub->Approval - SharePoint 201o. If she can not see the file there, ask the workflow creator to publish
    the workflow again. I had experienced strange issue in SharePoint designer 2007 and solved by check out all the workflow files and check in again
    http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/b533cfa5-e858-4ff9-bd0d-96d19946b789.

  • I can't open a new tab by clicking on it or going to file/new tab

    Clicking on the new tab doesn't open it, and going to file/new tab won't open a new tab either.

    Clicking on the new tab doesn't open it, and going to file/new tab won't open a new tab either.

  • I am trying to open a New Tab by clicking on File then New Tab, however a new tab will not open?

    I am trying to open a New Tab by clicking on File then New Tab, however a new tab will not open?

    Try disabling the Ask Toolbar extension, and see how it is.

  • Open a new form based on the selection from the drop down list

    Good Morning Everyone,
    Can any one please advise how I can start to build the form that has a drop down list(DDL) to list other forms so the user can select one from the selection of that DDL to open a new form.
    e.g  A form in workspace ES3 with drop down list to list 3 forms: form1, form2, form3. When user select form1 from the DDL, then it will kick off the render servic to launch form1 in workspace ES3.
    Thanks in advance,
    HD

    Hi,
    I'm not surea about the data structure...Are there two ClassNodes, one for "VALVES" and one for "BOLTS"??
    and for scripting it is no good idea if the names of the attributes are value, don't know if this is your naming...
    but to access a node of the DATA view -->
    //var selection --> you have assigned "VALVES"
      var onodeCN =  xfa.resolveNodes("xfa.record.Classification.ClassNode[*].value");
    // get the node with the valves -->
                   for (var i = 0; i < onodeCN.length ; i++) {
                        if ( onodeCN.item(i).value == selection ) {
                                         //get the Leaves of Node VALVES
                                         var onodeVALS = xfa.resolveNodes("xfa.record.Classification.ClassNode[+i+].ClassLeaf[*].value");
                                         for (var j = 0; j < onodeVALS.length ; j++) {
                                           // insert values of Leave to 2nd drop down
                                XXX.addItem(onodeVALS.item(j).value, onodeVALS.item(j).value);
    ??works??
    norbert

  • Excel cannot open the new form. The Form contains schema validation errors.

    i am running the approval workflow on a document library, while trying to open Excel
    file i get the error.
    Excel cannot open the new form. The Form contains schema validation errors.
    Detailed error:
    Element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body' is
    unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}SharePointListItem_RW'.<o:p></o:p>
    Expecting: {http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}WorkflowLink,
    {http://schemas.microsoft.com/office/inf....
    neeraj

    Hi,
    According to your description, my understanding is that when you are running approval workflow and opening the Excel file, then it will occur the error above.
    For a better troubleshooting, I suggest you can try to create a new normal excel file and then run the workflow and open the file to test if it works. It will help to figure out if this is the file itself issue or the SharePoint issue.
    Also, please provide some more detailed information such as screen capture, it will easier to find the root cause of the issue.
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I am not able to open a new tab by clicking on the division sign

    I can't open a new tab by clicking on the division sign to the right of the current tab or by left clicking on the current tab and selecting "New Tab."

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Close a form and before open a new form

    Hi,
    I open a new form(form B) from a form (from A), can I close "form A" before opening "form B" ?
    Moreover, can I re-open a form itself ?
    Thx!
    Gary

    Use one of following
    CALL_FORM
    This builds a stack of forms; exiting the current form
    returns you to the previous form.
    Performing a call_form('b') from FORM A will do the following:
    Deactivate FORM A.
    FORM A becomes MODAL.
    Focus is now on FORM B.
    Must Exit FORM B to return focus to FORM A.
    OPEN_FORM
    This allows you to have two forms open and active at the same time,
    and to work on both forms at the same time.
    Performing an open_form('b') from FORM A will do the following:
    Both FORM A and FORM B remain open and you can use the mouse
    to switch back and forth between the forms.
    NEW_FORM
    . This replaces the current form with a new form.
    Performing a new_form('b') from FORM A will do the following:
    Closes FORM A and Opens FORM B.
    Regards

  • How to automatically submit a form without clicking the button?

    Hi,
    Is there any way to submit a form without clicking the button? Any idea is greatly appreciated.
    -Joey

    well if you are filling some textfields you can do a onchange call so you can submit the form, or use any of the existing functions to do that.

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

Maybe you are looking for