Submit the form - not a page

Hi all

How can I submit the form below (external APEX) without submitting the page.

The Action in this form has method POST RESTful. Its PL/SQL Source is:

Insert into emp (empno, ename)

values

(DEMO_USERS_SEQ.nextval,: ENAME)

for example using this API:

http://S22.postimg.org/79wp8rbv5/capture.PNG

----------------------------------------------------------------

So I have this static page. I need to submit the form to Oracle DB without the page gets submitted. Any idea about it?

< html >

< head >

< / head >

< body >

< form action = " " https://Apex.Oracle.com/pls/Apex/somefeto/HR/EMP/ "method ="POST"> "

Used: < input type = "text" name = "ENAME" >

< input class = "button" type = "submit" value = "Submit" / >

< / make >

< / body >

< / html >










    
Employee: SUBMIT

Tags: Database

Similar Questions

  • How to submit the form to a page of the display?

    I posted a discussion like this, and I thought that I did when in reality they don't have work.
    I followed the steps on "how to make your first dynamic Web site", everything works perfectly until I have add a filter.

    Form page

    <? php require_once('Connections/ladyconn.php');? >
    <? PHP
    If (! function_exists ("GetSQLValueString")) {}
    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
    If (via PHP_VERSION < 6) {}
    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;
    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}
    case 'text ':
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
    break;
    case "double":
    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';
    break;
    case "date":
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "set":
    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
    break;
    }
    Return $theValue;
    }
    }

    $editFormAction = $_SERVER ['PHP_SELF'];
    If (isset {}
    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);
    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}
    $insertSQL = sprintf ("INSERT INTO displaytable (name, position, activity) VALUES (%s, %s, %s)',
    GetSQLValueString ($_POST ['Text1'], "text").
    GetSQLValueString ($_POST ['select1 "],"text").
    GetSQLValueString ($_POST ["select2"], "text"));

    @mysql_select_db ($database_ladyconn, $ladyconn);
    $Result1 = mysql_query ($insertSQL, $ladyconn) or die (mysql_error ());

    $insertGoTo = 'display.php ';
    If (isset {}
    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;
    $insertGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $insertGoTo));
    }
    ? >
    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > < /title > form
    < script src = "SpryAssets/SpryValidationTextField.js" type = "text/javascript" > < / script > "
    < script src = "SpryAssets/SpryValidationSelect.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryValidationTextField.css" rel = "stylesheet" type = "text/css" / > "
    < link href = "SpryAssets/SpryValidationSelect.css" rel = "stylesheet" type = "text/css" / > "
    < / head >

    < body >
    < form id = "form1" name = "form1" method = "POST" action = "<?" PHP echo $editFormAction;? > ">"
    Name < span id = "sprytextfield1" >
    < input type = "text" name = "text1" id = "text1" / >

    < span class = "textfieldRequiredMsg" > a value is required. </span > < / span >
    < P > < span id = "spryselect1" > element
    < select name = "select1" id = "select1" >
    < option value = "auto" > car < / option >
    < option value = 'bus' > bus < / option >
    < / select >
    < span class = "selectRequiredMsg" > please select an item. </span > < / span > < / p >
    activity < p > < span id = "spryselect2" >
    < select name = "select2" id = "select2" >
    < option value = "Buy" > buy < / option >
    < option value = "sell" > sale < / option >
    < / select >
    < span class = "selectRequiredMsg" > please select an item. </span > < / span > < / p >
    < p >
    < input type = "submit" name = "button" id = "button" value = "Send" / >
    < /p >
    < input type = "hidden" name = "MM_insert" value = "form1" / >
    < / make >
    < script type = "text/javascript" >
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField ("sprytextfield1");
    var spryselect1 = new Spry.Widget.ValidationSelect ("spryselect1");
    var spryselect2 = new Spry.Widget.ValidationSelect ("spryselect2");
    ->
    < /script >
    < / body >
    < / html >

    View the page


    <? php require_once('Connections/ladyconn.php');? >
    <? PHP
    If (! function_exists ("GetSQLValueString")) {}
    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
    If (via PHP_VERSION < 6) {}
    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;
    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}
    case 'text ':
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
    break;
    case "double":
    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';
    break;
    case "date":
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "set":
    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
    break;
    }
    Return $theValue;
    }
    }

    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    If (isset($_GET['pageNum_Recordset1'])) {}
    $pageNum_Recordset1 = $_GET ['pageNum_Recordset1'];
    }
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;

    $colname_Recordset1 = "-1";
    If (isset($_GET['item'])) {}
    $colname_Recordset1 = $_GET ["item"];
    }
    @mysql_select_db ($database_ladyconn, $ladyconn);
    $query_Recordset1 = sprintf ("SELECT * FROM displaytable WHERE the point = %s ORDER BY 'time' DESC", GetSQLValueString ($colname_Recordset1, "text") ");
    $query_limit_Recordset1 = sprintf ("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query ($query_limit_Recordset1, $ladyconn) or die (mysql_error ());
    $row_Recordset1 = mysql_fetch_assoc ($Recordset1);

    If (isset($_GET['totalRows_Recordset1'])) {}
    $totalRows_Recordset1 = $_GET ['totalRows_Recordset1'];
    } else {}
    $all_Recordset1 = mysql_query ($query_Recordset1);
    $totalRows_Recordset1 = mysql_num_rows ($all_Recordset1);
    }
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    Messages from < title > < /title >
    < / head >

    < body >
    < /P > < p > positions
    < ol >
    <? PHP {? >}
    < li > <? PHP echo $row_Recordset1 ['name'];? > < br / >
    <? PHP echo $row_Recordset1 ["item"];? >, <? PHP echo $row_Recordset1 ['activity'];? > < /li >

    <? PHP} while ($row_Recordset1 = mysql_fetch_assoc ($Recordset1));? >
    < /ol >
    < / body >
    < / html >
    <? PHP
    mysql_free_result ($Recordset1);
    ? >

    Sheesh.  This takes us into a whole new direction.  You should have stated this at the beginning.

    To return to your original pages.

    In the page of the form, replace-

    $insertGoTo = 'display.php ';

    on this subject.

    $insertGoTo = "display.php?". "item =". $_POST ["select1"];

    and do nothing in the display page.  Simple enough?  Should work now.

  • Submit the form of web publishing app point does not work

    Hi guys, I have a web form application point that I put on an edit page. I dynamically add the itemID/OID of the web application element that I want edited in the src of the form. When I submit the form, I get a thank you page that thank me to add a new item (it's an editing tool) and when I check the web application part nothing has changed! What is going on? On the flipside, I went to the Web page change app point by clicking on the link generated by BC and when I submit that form, I get the same exact page thank you, but this time, the changes stick. How can I get my form to work? Thank you guys!



    $('#webAppForm').attr ('src','/ CustomContentProcess.aspx?) A = EditSave & amp; CCID = 21437 & amp; OID = "+ itemID +" & amp; OTYPE = 35');

    This is the code used to change the src and then I don't

    $('#webAppForm').submit () to submit.

    FEC

    There is no attribute "src" on a form.  I think you need to change the 'src' in 'action '. DOH!  Also, I am sure you know this, but make sure that the user is logged when you try to send this form, so don't forget this form is in a secure area.

  • Error with reCAPTCHA when you submit the form on Business Catalyst hosted on site

    Hello

    Just had a client complain that the online form on their site of MUSE is not properly presented. When I tested myself for reCAPTCHA image verification is neglect and throw an error on a new page.

    As this is a site of BC hosted, the form no longer requires a verification key (it was previously hosted elsewhere until recently).

    I discovered from what happens on another of my sites... Any ideas please?

    The error I see is:

    ERROR: An error has occurred. The image verification failed. If you believe it is incorrect, please contact your system administrator or go back and re - submit the form



    There may be several reasons for this captcha or recatcha them included in the form, no editing html with form etc. including.

    Please provide the url of the page where the form is inserted so that we can check on our end, also have you tried re - insert the form and then check or update the new site of Muse in BC?

    Thank you

    Sanjit

  • Submit the form with the return key?

    I have a www.bsatshirts.com login page form which does not allow you to connect without clicking on the "connect" button.  The question I have is; is there a way to define the return key to submit the form and hit the "connect" button? I look forward to a solution or help that can be offered.  Thank you.  the code is as follows:

    Sign in to your account below
    or < br / >
    " < a href =" http://www.bsatshirts.com/store/PC/form.html "> create a new account." < /a > < br / >
    Username
    < input type = "text" name = "LoginEmail" size = "12" / >
    Password </span >
    < input type = "password" name = "LoginPassword" size = "12" / >
    < input name = "PassWordExists" type = "hidden" value = "YES" / >
    < a href = "JavaScript:document.login.submit();" "" > < img src = "images/login.gif" alt ="" border = '0' / > < / a >
    < input type = "hidden" name = "SubmitCO.y" value = "1" / > "
    < / h5 >
    < / make >

    your form uses javascript to do the click of an image to send the form. Use the send entry type for the return key to send the form:

  • I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text "to display all of the content of this document, you need a later version

    I'm filling out a form that is available on a site. When I click on the option to fill out and submit the form 'online' a pdf document is displayed in chrome with the following text

    «To display all of the content of this document, you need a later version the viewer PDF.» You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html"

    Needless to day, I installed the latest version. I even reinstalled using the link in the message, but nothing helped. Whenever I click on the link to go forward, I get the same message. Question: (i) is it my PC/software (Vista), (ii) is the site where I'm trying to submit the form, or (iii) is it the software acrobat reader. Note that I used successfully the last version to fill out and sign forms.

    It is none of them. It's Chrome, which is ignoring Adobe Reader and showing the message.

    Solution: just save the document (with the message) to your desktop. Then open it in Adobe Reader. The 'real' should then display.

  • How to submit the form interactive pdf in the browser (Mozilla, Chrome)

    I m having XFA based pdf form to be submitted by the user. I want to get it open, filled, and presented in the browser. In IE, it works. but Mozilla, Chrome is not supported. Get the message like "Please wait...". »

    Is it possible to submit the form on these browsers (Mozilla, Chrome)

    In advance thnk...

    You're default PDF viewer is not defined as Adobe Reader or Acrobat.  Change the viewer in the Chrome options, and it will not work properly.

    http://helpx.Adobe.com/LiveCycle/KB/XFA-forms-Firefox-chrome.html

  • How can I integrate a form on my site and to set up a button "submit" for when people fill out and click Submit, the form will be sent to me in the form of attached pdf file?

    How can I integrate a form on my site and to set up a button "submit" for when people fill out and click Submit, the form will be sent to me in the form of attached pdf file?

    Thank you!

    Salvation;

    This isn't a workflow that is supported by solutions of Adobe forms at this time.

    Thank you

    Josh

  • Display message to users when they submit the form

    Like most, I am relatively new to creating PDF forms and need my form to display a message to the client when they submit the form. Something like:

    "Thank you to send your form our team will contact you shortly with instructions.

    I created the form in Adobe Acrobat 9 Pro to be distributed and returned to PDF attachment by mail.

    Any information you could give me would be greatly appreciated.

    Is the form put in place to submit to a web server or by email?

    Edit: Oops, I see that you have configured it to submit by e-mail. If you have created your own button submit, you can add an additional JavaScript action after the action of 'Submit form' which uses the app.alert method to display a message to the user. Something like:

    // Show a message to the user
    app.alert("Your message goes here.", 3);
    

    More information on method app.alert is available here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.135.html

  • Submit the form and run the ColdFusion function?

    Hello!

    I have a coldfusion form. What I need to be able to do is to submit the form and do run a ColdFusion function that I defined. Is this possible? If so, how?

    I know it's possible with a JavaScript function.

    Thank you!


    function saveResults () {}


    }


    ' action =' http://pluto2/brandi/serverstats/saveresults.cfm ' method = "post" >

    Your function is used if I understand your needs. The
    the form action will determine what action submit resource
    applications. Make nature without HTTP account status / & resposnes.
    This resource will have no information of this application, unless you do
    something to pass.

    The solution that requires any change to your code is simply
    put the appropriate information service in the action of the form.



    ' action =' http://pluto2/brandi/serverstats/saveresults.cfm/link?query=#sql# '
    method = "post" >


    If you're open to the biggest change to your code, it might
    probably be simplified and more preformant with the use of persistent
    scopes such as session and | or application to store results and | or
    the given sql so that the second application that use the same exact data
    don't have to regenerate it.

  • Not able to submit the form of hcsf

    Here is the code:

    < html >
    < head >
    <!-meta NAME = "idctype" CONTENT = "form; version = 1.0 "->"
    <!-$idcbegindata->
    < idcformrules / >
    < formTitle > < / formTitle >
    < formData > < / formData >
    <!-$idcenddata->
    < / head >
    < body >
    < name of the form = method "SimpleForm" = "POST" action = "<!-$HttpCgiPath - >" >
    < input type = "hidden" name = "idcToken" value = "< $idcToken$ >" / >
    < input type = hidden name = "IdcService" value = "SUBMIT_HTML_FORM" >
    < input type = hidden name = "made" value = "<!-$SourceID - >" >
    < input type = hidden name = "isFormFinished" value = "1" >
    < input type = hidden name = "FormDocTitleScript".
    value = "& lt; $UserName & amp; "" & amp; formTitle$ & gt; ">
    < table >
    < b >
    < td > title: < table >
    < td > < input name = "formTitle" size = "50" > < table >
    < /tr >
    < b >
    Data < td >: < table >
    < td > < textarea name = "formData" lines = '8 '.
    cols = "40" > < / textarea > < table >
    < /tr >
    < b >
    < td colspan = 2 align = center >
    < input type = submit name = Submit value = "Submit" >
    < input type is reset = Reset value name is "Reset" >
    < table >
    < /tr >
    < /table >
    < / make >
    < / body >
    < / html >

    The form is displayed and after filling data and click on submit... is to show: impossible to submit the HTML form. The authorization token is not valid. It has expired or is not appropriate for the current request.
    You may need to reload a page early in order to move forward.



    Please guide...
    Thank you
    Chely

    Published by: 949755 on July 30, 2012 04:48

    This is a new issue, unrelated to the token.

    You must provide a value of dDocName in your form submission, or enable "IsAutoNumber = true" in the General configuration of the content server.

  • check the radio button does not submit the form?

    Hello


    Your name:
    E-mail address:
    Contact no.:
    Topic:


    Message:




    Can not read the image? Click here to refresh

    I have a form on my site,

    and all his work.

    But I noticed that the information of the radio button

    is not sent?

    may an advise why?

    Also, can someone suggest how I can configure the name where the email?

    as when the email is downloaded, it come with my Web Host/Server name?

    Thank you

    < Center > < form name = 'contact' method = "POST" action = "form_process.php" >

    < table width = "306" border = "0" cellpadding = "0" cellspacing = "0" >

    < b >

    < td width = "93" height = "28" valign = "top" > your name: < table >

    < td width = "213" > < input name = "name" type = "text" >

    < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Correo electronico: < table >

    < td > < input name = "email" type = "text" > < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Contact No.: < table >

    < td > < input name = "contact" type = "text" size = "24" > < table >

    < /tr >

    < b >

    < td height = "85" valign = "top" > subject: < table >

    < td > < label > < input name = "category" type = "radio" value = "Appointment" / > appointment < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Schedule" / > opening hours < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Products" / > Products < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Other" / > other < / label > < table > < /tr >

    < td height = "28" valign = "top" > Message: < table >

    < td > < textarea name = "message" = "24" cols rows = "5" > < / textarea > < table >

    < /tr >

    < tr > < td > < table > < td height = "85" valign = "top" >

    < br / > < img src = "captcha_code_file.php? rand = <?" PHP echo rand();? ' > '.

    ID = "captchaimg" >

    < br / > < label for 'message' = > enter the above code here: < / label >

    < br / > < input id = "6_letters_code" name = "6_letters_code" type = "text" >

    < br / > < small > can not read the image? Click on < a href = "" javascript: refreshCaptcha(); "> here < /a > to update < / small >"

    < table > < /tr >

    < b >

    < td > < table >

    < br / > < td valign = "top" align = "center" > < input type = "submit" value = "Submit" name = "submit" > < table >

    < /tr >

    < /table >

    < / form > < / center > < br / > < table >

    OK - I see what is happening. The script that determines the content of captcha also sets the session variable. To read this variable on the processing page, you need to enable sessions there too. -Change

    If (isset($_POST['submit']))

    on this subject.

    {if (! isset($_SESSION))}

    session_start();

    }

    If (isset($_POST['submit']))

    If there is an error of Captcha, you will also need to print that the visitor sees an indication that they do not have this right. There are several ways to do it, but probably the easiest is just to send them to the test to white form with an error message, so change that-

    Header ('Location: thank_you.html "");

    }

    on this subject.

    Header ('Location: thank_you.html "");

    } else {header('Location:captcha_error.html') ;}

    then create the captcha_error.html page that explains what that went wrong, with a link to the page of the form.

    See if that helps.

  • Site of Tablet and phone do not submit the forms?

    Hi, I created a Web site by using office templates, Tablet and phone. My problem is the form on the Desktop works perfectly, but the Tablet and phone version sends no data to send. It does not present the forms. I tried new forms from scratch on the tablet and phone sites but still do not send the form to the email said that the site Office to submit too. Please can someone shed light on what my client is not happy. www.badabingedinburgh.com much thanks April

    -Check the field "E-mail to" in the form of layout of phone to ensure that the correct email address is entered in the field.

    -If the email is correct, you must send us your PHP files for forms of contact for the investigation.

    Thank you

    Sanjit

  • submit the form and redirect the page at the same time?

    Im having abit of trobble trying to get a form to present, then redirect the page. Its for a contest, so when they complete the form, click on submit, it comes up with a "congratulations msg'..."

    Help would be appreciated, by a factor here

    Yes, check with your host. They often provide scripts for your hosting plan details.

  • PHP to submit the form does not load

    I have a page with a form that will insert data into a MySQL database, using PHP. Dreamweaver has established the connection to the db fine. He sees the table and columns very well.

    I create the form with the text field and submit button and it looks great. But as soon as I put the form to insert a record (DW Wizard or manually assign the fields in the table), I get a HTTP 500 error.

    And as soon as I remove the code generated by DW, the page loads again. If she has somewhere in the DW PHP code at the beginning of the page, but I don't know what. Any help is greatly appreciated.

    Here is the code:

    Thanks David! I did and it works great! I had the feeling it was something simple!

Maybe you are looking for