Contact Form (php)  - how to prevent new window...

My contact form works just fine, however, I currently have
the target set to "_blank" which is not what I want.
Rather than opening the .php file open in a new window, I
just want to go to a new frame (labeled "success" or "error")
within my flash file (which currently works fine)
So, my question is how do I send the form information to my
php file WITHOUT having to open a new window outside of my flash
file since I'm sending the user to new frame instead.
FYI: I've already tried removing "_blank" but it still opens
the php file in a new browser window.
My code below:
on (release){
var my_lv:LoadVars = new LoadVars();
my_lv.fullName = fullName_txt.text;
my_lv.email = email_txt.text;
my_lv.emailMessage = emailMessage_txt.text;
if(fullName_txt.text != "" && email_txt.text != ""
&& emailMessage_txt.text != "") {
my_lv.send("contact.php","_blank","POST");
gotoAndStop("success");
else {
gotoAndStop("error");
Any help is greatly appreciated.
Yvonne

Thanks for your help, Zupko.
I tried your suggestion but I'm still experiencing the same
problem. A new window still opens. Perhaps I'm doing something
wrong?
My code with your suggestion below:
on (release){
var my_lv:LoadVars = new LoadVars();
my_lv.fullName = fullName_txt.text;
my_lv.email = email_txt.text;
my_lv.emailMessage = emailMessage_txt.text;
if(fullName_txt.text != "" && email_txt.text != ""
&& emailMessage_txt.text != "") {
loadVariables("contact.php","POST");
gotoAndStop("success");
else {
gotoAndStop("error");
Your help is very much appreciated!
Yvonne

Similar Messages

  • How to prevent New Window from offsetting location from previous windows?

    I'm anal retentive. I like a tidy screen. I place all Firefox windows at top left corner of the screen. Each successive New Window arrives offset a small distance to the right, so that it does not cover the previous window. That's terrific, except... I do not want that behavior. I am constantly repositioning the New Window so that it too starts at the top left corner of the screen. It would be delightful if there were a Preferences option to allow New Windows to NOT be automatically offset to the right of the previous Firefox window.

    Try submitting your idea to https://www.mozilla.org/en-US/contact/spaces/ . Try any of the ways listed to contact Mozilla and suggest this! (feedback, facebook, forums,...)

  • How do I prevent new windows?

    Greetings,
    When I go to thePirateBay.com, a new window opens. The website opens a new window using Javascript (window.open). I've tried opening the site in a Private Window but it doesn't help. How can I prevent new windows from opening?
    Thanks,
    Shane.

    It's a new window (not a tab) that is fully maximized and contains an ad.
    Let me know if you need anything else.
    Shane.

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

  • How to pen new window while redirecting to a page

    Hi,
    I have a jsppage 1,jsppage 2 and aspPage. In jsp2 I am getting the
    values from jsp1 using request.getParameter("hhhh").Once I get
    all values in jsp2 , as soon as I got the values I need to redirect to asp from jsp2.
    I don't have any form or any button in jsp2.When I do submit in jsp1,
    immediately it has to open asp page in new window. My question is how
    I open the asp in new window in this redirection case .....?.
    I tried this way but not working ...
    WebsiteUtils.sendRedirect(request,response,window.open("ASP page"));
    I know if I have submit button in jsp2 I can write a javascriptfunction
    to opennew window but here the case is different....
    Appreciate your reply.
    Thanks

    On jsppage1, instead of using a from submit button, you can create abutton and write th onClick as
    <input type="button" value="OK" onClick="window.open('jsppage2.jsp','win2');">
    Now in Jsppage2.jsp, after doing all the processing, use sendRedirect to call jsppage3.jsp.
    Since jsppage2 is never being displayed, page3 will bw the one which will be shown in the new window opened by the name win2 on onClick.
    If I have understood your requirement correctly, then this should work for you as I have tried it out.

  • Creating a link in a PDF form to open into a new window

    I have created the PDF form and every thing seems to be working fine. But I would like to set a link in the form that would open into a separate page. I have tried target="_blank" and onclick="window.open(this.href, 'child', 'scrollbars,width=650,height=600'); return false" with no success. Can someone give me some direction on how to create a link within a PDF form that will open into a new window?

    Try this, using JavaScript:
    app.launchURL("http://www.adobe.com",true);

  • How to pop new window in running main window

    i have to popup a sub windopw in main window....and i need to plot common data to be printed on front panal...
    i am usind daq ...can i share same daq in main and sub window...hao??or can i share some calculated value in main and sub window of labview.,,pleasehelp me fast

    As KoenR has said - you can use SubVIs and set them to 'Show front panel when called' which will make them show as new windows in your application.
    As for sharing the data, you could use something like a notifier (under synchronisation) for broadcasting the data to the SubVI. If you create the notifier in your main application, with a send notification VI and then pass the reference to the notifier into the SubVI when you call it which has a 'wait on notification' VI it will then receive the data form the main loop. 
    If you look in the LabVIEW examples under 'notifiers' you will find 'Pass Data with Notifiers' which demonstrates how to use notifiers to pass data to SubVIs.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to open new window when i press submit button/submit button.

    Hi,
    When i press a button, I need to capture an item value in current from and I need to pass that value to another form. The child form should open in the new form.
    For that Iam using the java script, But when i use the java script my page is not able to re-size, scroll bars address bar and menu bars are missing. if any one did this kind of requirment please share with me how to solve this issue.
    Thanks

    Re: How to show Popup window in OAF on click of a button
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How to call new window and text element without changing print program

    Hi Friends,
       I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new fields through subroutines. but how can v call new windows and new text elements with out changing the print program.
    usually in the print program we write as follows.
    write_form
    window = 'HEADER'
    textelemtn = 'HEADER'
    can we accomplish this one also through subroutines or any other way is there.
    can any one pls suggest this.
    Thanks in advance.
    Rahul

    u  copy the standard print program and make custom program.
    write your own codes in it.
    assign this program in the place of standard print program.
    Reward points, if helpful.

  • Appraisal form doesn't open in new window

    Hi Guru's,
    We are using the BSP application HAP_Document. For the employee we use the "page with flow logic" (SE80) documents_receives_open2.html. This gives an overview of open appraisals.
    Our problem is, that when an employee clicks on the link to an appraisal form, that the form opens in the same frame. It should open in a new window.
    Hope you can tell me how we can adjust this.
    Thanks!
    Marco

    Hope you've set the option 'Open In New Window' in BSP iView properties.
    Also check that  In homepage config. for resource which calls this application.For url for pcd page
    Replace roles with exroles for e.g. exroles://portal......
    This two suggestions solve you issue,
    Regards

  • Simple contact form php error

    I just replaced an adobe formscentral contact form with the muse simple contact form. It is not working, receiving a php server error when submitting. How can I fix this?? I'm hosting through Amazon Route53.
    Issue is here: CONTACT

    Hi,
    I was able to submit the form, kindly let me know if you are still facing the issue.
    Regards
    Sonam

  • How to get New Window without Variable Entry screen from one Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • How to achieve New Window requirement from One Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • How to open new window in UIX page

    I'm using UIX for view layer. I have text input in the UIX form. When I click on a button, I want to open a new window with the URL built using the value from the input. I want to do it using javascript. Is it possible with UIX?

    Hi Krishnamoorthy,
    Look out the LovXXXX components demo in uix.
    See <script> demo of component guide. This should help you clearly understand the functionalities.
    See documentation of above UIX components
    Like providing handlers to HTML elements, you can attach event handlers to UIX components too. You can attach event handlers on onClick, onMouseOver,... on UIX components just as you would do in HTML.
    http://www.oracle.com/technology/sample_code/products/jdev/index.html
    This link could be of some help to you.
    Thanks,
    Vijay Venkataraman

  • How to decide new window position?

    Hi
    I work a lot in Logic Pro X, but I think this question belongs in the Maverick OSX department.
    Every time I open a plug-in window in Logic it defaults to the position in the upper left corner of my cinema display, forcing me to drag the window in center, where I can view best.
    How can I tell the system that I want's the window to open in the center of the display and not in the upper left corner?
    I have the same problem with Preview!
    I go nuts to be forced to do the same thing over and over again!!!!

    Hello,
    You may disable the options for tab and new window in browser setting. For IE, Go to Tools-> Internet Options->General
    Check the settings under tab section
    In order to have the settings at global level, please check with network admin to disable the setting for all users.

Maybe you are looking for

  • Performance problem with the bulk data

    Hi, I have created the mapping to load the fact table and succesfully deployed. When i tried to do the Initial load with the 12 million records,it is taking arround 90 hours. To reduce this time ,what performance measures we can take. Following is th

  • How to add image as radio button label instead of text

    In a pure AS3 project, is there a way to add use an image placed in the library/ Flex/AIR SDK compiler path instead of text as a radio button label? I've tried substituting character may unicode like: rb1.label = String.fromCharCode("0x2592"); But ho

  • Block Negative Payment on Account

    Hello I suggest there should be a block when a negative payment on account will be added. I have explain more 5 people at my company how to correctly receive payments using the incoming payment screen, and the 5 have made the following mistake at lea

  • HT5129 i forgot my mobileMe login name and password

    How can I retrieve my mobilMe login name and password ? I forgot them. I guess my login name was an email, but I still don't remember it

  • Nokia 800: issues while recharging

    I am the happy owner of a brand new 800 and I really like it. Alas, I use "WhatsApp" a *LOT* but it eats battery power like hell. I'd not mind too much, as most of the time I can recharge the machine all of the time. The problem is: I cannot USE it w