Major JavaScript bug - form variables not submitted

I'm building a page where data is submitted to Paypal via a form and using Javascript to build Select statements on the fly. These appear as expected, but when the form is submitted none of the variables are POSTed through. The same page works perfectly in IE so there must be a major bug in Firefox's impementation of Javascript - this is a total show-stopper for the page I need to implement.
Go to the URL below and then check availability for type of room ANY. On the booking confirmation page if you leave the first select alone and hit the Pay Now button you will arrive at a debug page that dumps all the POST variables in a new window. Now go back and change the room type in the first select statement just above Pay Now - this updates the second select. Maybe even click it again to go back to the original setting. Now click Pay Now - nothing comes through from the select statement and some associated hidden vars.
Try it in IE and it works just like it should.
== URL of affected sites ==
http://www.west-end-bb.co.uk/test/

Found this which has solved the problem:
[http://www.infoqu.com/dev/javascript-development/crazy-firefox-javascript-bug-156760-1/]
There seems to be an issue with FF and InnerHTML when a form is in a table. By moving the form tag around I was able to place it within the table definition so that it works in FF.

Similar Messages

  • Form is not submitting while caling a confrim in from validation.

    Dear All,
    I am getting a typical issue in the application. the code is as shown below.
    <h:form id="registerForm" target="_top">
    <h:inputText id="prmoCode" binding="#{Register_Backing.promoCd}" ></h:inputText>
    <h:commandButton onclick="return validate();" id="submitRegister" type="submit" image="../../../images/btnSubmit.gif" action="# {Register_Backing.createSilverhutUser}" />
    </h:form>
    <Script language="javascript">
    function validate()
         if(document.getElementById('registerForm:prmoCode').value=="")
              return confirm("is it ok to continue registration without the promo_code?");
    return true;
    </script>
    when the user clicks the button I am calling a validate() method, in that one I am calling a javascript confirm() function when the prmocode is empty string.
    if the user is selectig ok in the confirmbox the form is not submitting
    the form is submitting well when the promocode is not empty.
    please provide me some solution to over come this problem.
    Thanks & Regards,
    B.V.SureshBabu

    The form HTML is incorrect.
      <form id="form1" name="form1" method="post" action"registration.php">
    you're missing a  = after action

  • Form is not submitting through Oracle Application Server

    Hi Experts,
    We are creating one Java Application and deploy this java application on Oracle Application Server Enterprise Manager release 2 through War File.
    Now, There one Form on submitting calls procedure with some 42 parameter in that 20 are Oracle Types and remaining are simple varchar or number. when going to submit this form is not raise any database error or server error , but data is saved into database.
    We creating error log on database side as well as on Server side but we did not found any error.
    We are confused because remaining all form working fine as they call with same as procedure, only difference is that this form calls procedure which having 42 parameter with 20 Type and remaining simple varcahr or number. Other Forms procedure also having Oracle Types as a parameter.
    Could any of one help me out, Please ?

    The form HTML is incorrect.
      <form id="form1" name="form1" method="post" action"registration.php">
    you're missing a  = after action

  • Javascript in forms is not supported in the new Acrobat DC... why!?

    This is a great way to do simple calculations within a form. PDF expert supports this in iOS but android is left without any option. Adobe... save us!!! ☺

    Hi,
    Acrobat DC mobile products (for iOS and Android) has limited support for JavaScript in forms.
    JavaScript for Reader Mobile API Reference (Android)
    JavaScript for Reader Mobile API Reference (iOS)
    Please take a look at the supported JavaScript APIs in the left pane (under "Classes").
    Did your PDF form with simple calculations work in Adobe Reader for iOS/Android (the previous version)?
    Would you share your PDF form with us (Adobe)?  We can take a look at it and determine why it is not working in Acrobat DC.
    I will send you the information about how to share your document with us in a separate email.
    Thank you.

  • Problem using javascript to submit jsf form, values not submitted

    Greetings!
    I have a t:selectOneMenu where I want the page to be submitted when they change the selected value. At this point, I am able to get the form to submit and reload the page, which is all fine. The problem is that none of the values from the page are not set in the backing bean. I have break points on the setter methods that are not being hit.
    I have tried a number of things from searching multiple forums, but here are snippets from my latest version...
    <h:form>
    <t:commandLink id="hiddenLink" forceId="true" value="test link"
    action="#{pc_PageX.doBtnHiddenLinkAction}"></t:commandLink>
    <t:selectOneMenu id="pageList_top" forceId="true" value="#{pc_PageX.ValueX}"
         onchange="jspellSync(); submitPageX();">
         <f:selectItems value="#{pc_PageX.ListX}" />
    </t:selectOneMenu>
    </h:form>
    function submitPageX(){
         var hiddenLink = document.getElementById("hiddenLink");
         hiddenLink.click();
    }Note that the <t:commandLink> is not hidden, though it will be in the final version if I can get this to work.
    If I click the commandLink myself, the page is submitted with all the page values as expected. If I change the list value, thus using javascript to fire the commandLink's click event, the page is submitted with NO values.
    Can anyone come up with an explanation for this behavior? Or better yet, a solution?
    A couple other things I've tried...
    - Not using a commandLink and using jsf's submit function -> onchange="jspellSync(); submit();"
    - Clicking the link using other ways -> hiddenLink.fireEvent('onclick');
    If all else fails, I'll just add a button that they have to click to submit the form.

    snotmare wrote:
    BalusC wrote:
    I recall this problem in one of the ancient JSF versions. Which JSF version do you use? Do you have any room to upgrade to latest? We're using an IBM implementation of JSF, which is at version 7.0. The IBM implementation appears to be built on the JSF base 1.1.That's not an IBM JSF implementation, they do not have any one, they just have some component libraries which runs on top of some JSF implementation. RAD/WSAD ships by default with Sun JSF RI. Try upgrading to at least 1.1_02 which you can download from the aforementioned link. There's a gap of 2 years (and inherently a lot of bugfixes) compared to 1.1. If the application server used supports Servlet 2.5, you could even upgrade to the latest 1.2.
    We've had other issues with the IBM implementation, which could be the cause in this case too. We've been talking about switching to MyFaces, but there is one feature of the IBM version that we like. It's basically a script collector (hx:scriptCollector) that allows us to do pre-processing on the page.As said before, IBM does not have a JSF implementation. So replacing RI by MyFaces wouldn't make any difference.

  • Help!  Form is not submitting or doing anything! Any ideas?

    I inherited this web application and have zero CF experience and any help is greatly appreciated!  So, the "Forgot Password" form isn't working at all.  The email is sent properly from the referring page and when you click the link it brings up the page right, however, when you fill out the form with "email address" and "username" and hit submit, it does nothing.  I'm not even getting an error.
    Is there something I'm missing in the code that is wrong?  I'll post the entire code and what the URL looks like when arriving at this page.  It is still in my dev environment.
    Thanks in advance for ANY help!  I'm really lost and confused.
    http://<server>/~mld/ForgotPassword/index.cfm?plw=359&qke=995708
    <!---
    Project: MLD Registry
    Page Name: index.cfm
    Page Purpose: Home page for Forgot Password pages
    Programmer: Eric Savage
    --->
    <html>
    <head>
              <title>Forgot Password</title>
              <link rel="stylesheet" type="text/css" media="screen" href="../StyleSheet_Display.css" />
              <link rel="stylesheet" type="text/css" media="print" href="../StyleSheet_Print.css" />
    </head>
    <body>
    <cfsilent>
    <cfparam name="plw" default=""><!--- Registry_ID --->
    <cfparam name="qke" default=""><!--- Acct_num_temp --->
    <cfparam name="Email" default="">
    <cfparam name="UserName" default=""><!--- User Name --->
    <cfparam name="CheckEntries" default=""><!--- Check submissions for errors --->
    <cfparam name="Error" default="0">
    <cfparam name="ErrorMessage_Email" default="">
    <cfparam name="ErrorMessage_UserName" default="">
    <cfparam name="ksr" default=""><!--- Forgot password: email/new password sent --->
    <cfparam name="uca" default="">
    <cfif Len(CheckEntries) and Len(UserName) and Len(Email) and Len(plw) and Len(qke)>
              <cftry>
        <cfquery name="CheckIfValidUser" datasource="#Datasource#">
            SELECT                    rid,rid_name,r_email,registry_id,acct_num_temp,r_website_type
            FROM                    registry
            WHERE                    rid_name= <cfqueryparam value="#UserName#" cfsqltype="CF_SQL_VARCHAR"> and r_email= <cfqueryparam value="#Email#" cfsqltype="CF_SQL_VARCHAR"> and registry_id= #plw# and acct_num_temp= #qke#
        </cfquery>
        <cfcatch type="Any">
                        <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                  <cflocation url="ErrorMessage.cfm" addtoken="No">
            <cfabort>
        </cfcatch>
              </cftry>
              <cfif not CheckIfValidUser.RecordCount>
                        <cftry>
                        <cfquery name="UserLog" datasource="#Datasource#">
                                  INSERT INTO userlog(http_user_agent,todaysdate,ip_address,user_name,comments)
                                  VALUES ('#CGI.http_user_agent#',#CreateODBCDateTime(Now())#,'#remote_addr#','#Email#','ForgotPas sword/index.cfm: failed attempt')
                        </cfquery>
                        <cfcatch type="Any">
                                  <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                        </cfcatch>
                        </cftry>
              </cfif>
              <cfif CheckIfValidUser.RecordCount>
                        <cfinclude template="../includefiles/inc_Password_CreateRandom.cfm"><!--- Creates random password in variable called RandomlyCreated_Password --->
            <cfset Password_To_Check= RandomlyCreated_Password><!--- Pass value of new password to include file --->
                        <cfinclude template="../includefiles/inc_Password_CheckFormat.cfm"><!--- Check password complies with  --->
                        <cfif Len(ErrorMessage_Password_To_Check)>
                      <cfset ErrorMessage= "(" & #CheckIfValidUser.rid# & ") [auto password gen] " &  ErrorMessage_Password_To_Check>
                <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                <cflocation url="ErrorMessage.cfm" addtoken="No">
                <cfabort>
                        </cfif>
                        <cfif not Len(ErrorMessage_Password_To_Check)>
                <cftry>
                <cfquery name="UpdatePassword" datasource="#Datasource#">
                    UPDATE                    registry
                    SET                              rid_pass= Password('#RandomlyCreated_Password#')
                    WHERE                    rid_name= <cfqueryparam value="#UserName#" cfsqltype="CF_SQL_VARCHAR"> and r_email= <cfqueryparam value="#Email#" cfsqltype="CF_SQL_VARCHAR"> and registry_id= #plw# and acct_num_temp= #qke#
                </cfquery>
                <cfcatch type="Any">
                    <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                    <cflocation url="ErrorMessage.cfm" addtoken="No">
                    <cfabort>
                </cfcatch>
                </cftry>
                <cftry>
                <cfquery name="UserLog" datasource="#Datasource#">
                    INSERT INTO userlog(http_user_agent,todaysdate,ip_address,user,comments)
                    VALUES ('#CGI.http_user_agent#',#CreateODBCDateTime(Now())#,'#remote_addr#','#CheckIfValidUser.r id#','ForgotPassword/index.cfm: new password added')
                </cfquery>
                <cfcatch type="Any">
                    <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                </cfcatch>
                </cftry>
                <cfparam name="Subject" default="(Secure) NDRD Clinical Questionnaire">
                <cfif CheckIfValidUser.r_website_type is "MLD"><cfset Subject= "(Secure) MLD Registry"></cfif>
                <cfif CheckIfValidUser.r_website_type is "NFRD"><cfset Subject= "(Secure) NFRD Registry for Rare Genetic Disorders"></cfif>
                <cftry>
                <cfmail
                    to="#Email#"
                    subject="#Subject#"
                    from="#CONTACT.EMAIL_NURSE#"
                    server="<SMTP SERVER>"
                    type="html">
                    <p>Here is the new password you requested: #RandomlyCreated_Password#.</p>
                </cfmail>
                <cfcatch type="Any">
                    <cfinclude template="../includefiles/inc_EmailWebsiteManager.cfm">
                    <cflocation url="ErrorMessage.cfm" addtoken="No">
                    <cfabort>
                </cfcatch>
                </cftry>
                <cfparam name="WebsiteType" default="">
                <cfif CheckIfValidUser.r_website_type is "Clinic"><cfset WebsiteType= "01345"></cfif>
                <cfif CheckIfValidUser.r_website_type is "MLD"><cfset WebsiteType= "04385"></cfif>
                <cfif CheckIfValidUser.r_website_type is "NFRD"><cfset WebsiteType= "03475"></cfif>
                <cflocation url="index.cfm?ksr=30471&dfa=84836&uca=#WebsiteType#" addtoken="No">
            </cfif>
              </cfif>
    </cfif>
    </cfsilent>
    <cfinclude template="inc_PageTitle.cfm"><!--- Page title --->
    <div id="Container">
              <cfinclude template="inc_NavBar.cfm">
              <div id="Content">
                        <div id="minheight">
                                  <cfoutput>
                                  <cfif not Len(ksr)>
                                            <div style="padding: .5em 0 .75em 0; border-style: solid; border-width: 0 0 1px 0;">
                        Please enter your email address and user name.
                                            </div>
                                            <cfform action="index.cfm" method="POST">
                                                      <p>
                                                      <span class="ResponseLabel_10"><label for="Email">Email Address</label></span>
                                                      <cfinput type="Text" name="Email" id="Email" value="#Email#" message="Please enter an email address" required="Yes" size="30" maxlength="40">
                                                      </p>
                                                      <p>
                                                      <span class="ResponseLabel_10">User Name</span>
                                                      <cfinput type="Text" name="UserName" id="UserName" value="#UserName#" message="Please enter a User Name" required="Yes" size="12" maxlength="50">
                                                      </p>
                                                      <p><input type="submit" value="Submit"></p>
                                                      <input type="hidden" name="CheckEntries" value="Check">
                        <cfoutput>
                                                      <input type="hidden" name="plw" value="#plw#"><!--- Registry_ID --->
                                                       <input type="hidden" name="qke" value="#qke#"><!--- Acct_num_temp --->
                        </cfoutput>
                                            </cfform>
                                  </cfif>
                                  <cfif Len(ksr)>
                                            <cfif Trim(uca) is "01345"><cfset WebsiteType= "Clinic"></cfif>
                    <cfif Trim(uca) is "04385"><cfset WebsiteType= "MLD"></cfif>
                    <cfif Trim(uca) is "03475"><cfset WebsiteType= "NFRD"></cfif>
                                            <div style="padding: .5em 0 .75em 0;">An email has been sent with your new password.</div>
                    <cfif Len(Trim(WebsiteType))><a href="#HTMLPath#/#WebsiteType#/LogIn.cfm">Log in</a></cfif>
                                  </cfif>
                                  </cfoutput>
                        </div><!--- min-height --->
              </div><!--- Content --->
    </div><!--- Containter --->
    <cfinclude template="../includefiles/inc_PageFooter.cfm"><!--- Page footer (contains closing tag for Container) --->

    <cfform action="index.cfm" method="POST">
    This line is going to tell the web browser to submitt the page to the web server and have the web server run the "index.cfm" page.
    The web server then expects the "index.cfm" page to expect a post request and do something with the key-value pairs contained in the header of the request.
    With a rather generaic file name like "index.cfm" it is not unlikely that the index.cfm page simply ignores the form key-value pairs and does nothing with them.  But with no way to see the server side code of this index.cfm page I can not tell for sure.

  • Form is not submitting to the databases

    Hello,
    I'm having an issue right now. Everything i click the complete registration page on this site.
    https://www.encourageexcellence.org/registration.php
    The values entered won't submit nor return any error messages. Could you show me what I'm doing wrong? Here is the code
    [CODE]
    <?php
    if (isset($_POST['submitted'])){
        require_once('Connections/encourage.php');
    $fields = array(
        'email',
        'state',
        'district',
        'gender',
        'age',
        'profession',
    if (safe($_POST['survey']=="Yes")){
        $survey = "Yes";
    else{
        $survey = "No";
    foreach($fields as $fieldName) {
        if(isset($_POST[$fieldName]) and safe(trim(stripslashes($_POST[$fieldName]))) !==''){
            $$fieldName = safe(trim(stripslashes($_POST[$fieldName])));
        }else {
                    $errors[] = "Please enter your". $fieldName .""; //code to validate fields
        if(filter_var($email, FILTER_VALIDATE_EMAIL) == true){
        } else {
            $errors[] = 'Please enter a valid email address';
    if(!isset($errors)){
        $query = "SELECT user_id FROM participants WHERE email='$email'";
        $result = mysql_query($query);
        if(mysql_num_rows($result) == 0) {
    $query = "INSERT INTO participants (email, state, district, gender, age, profession, survey, registration_date) 
    VALUES ('$email', '$state', '$district', '$gender', '$age', '$profession','$survey', NOW())"; //databasse connection
        $result = mysql_query ($query);     
    if ($result){
        $url = 'http://'. $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
        if ((substr($url, -1) == '/') || (substr($url, -1) == '\\')) {
            $url = substr ($url, 0, -1);
        $url .= '/thanks.php';
        header("Location: $url"); //This is the line of error that is reporting after submitting to the database
        exit();
        } else {
            $errors[] = 'You could not be registered due to a system error. We apologize for any inconvenience.';
            $errors[] = mysql_error() . '<br /><br />Query: ' . $query;
        } else {
            $errors[] = 'The email address has already been registered.';
        mysql_close();
        } else { 
            $errors = NULL;
    if (!empty($errors)){
                echo '<h1 id="mainhead">Error!</h1>
            <p class="error">The following error(s) occurred:<br />';
            foreach($errors as $msg) {
                echo " - $msg<br/>\n";
            echo '</p><p>Please try again.</p><p><br/></p>';
    function safe($string) 
            $pattern = "/\r|\n|\%0a|\%0d|Content\-Type:|bcc:|to:|cc:/i"; 
            return preg_replace($pattern, '', $string); 
    ?>
    <!----html code-->
    <form id="form1" name="form1" method="post" action"registration.php">
      <fieldset class="first">
      <label class="email" for="email">Email:* </label>
      <input name="email" value="<?php if(isset($_POST['email'])) echo $_POST['email'];?>"/>
      <label for="state"/>State:* </label>
      <input name="state" value="<?php if(isset($_POST['state'])) echo $_POST['state'];?>"/>
      <label for="schooldistrict"/>School District:* </label>
      <input name="district" value="<?php if(isset($_POST['district'])) echo $_POST['district'];?>" />
      <label for="gender">Gender:* </label>
    <select name="gender">
       <option>Choose Your Gender</option>
       <option value="male" <?php echo ($form['gender'] == 'male' ? ' selected' : ''); ?>>Male</option>
       <option value="female"<?php echo ($form['gender'] == 'female' ? ' selected' : ''); ?>>Female</option>
    </select>
        <label for="age"/>Your Age:* </label>
      <input name="age" type="text" class="age" maxlength="2" value="<?php if(isset($_POST['age'])) echo $_POST['age'];?>"  />
      <label for="profession"/>Profession:* </label>
      <input name="profession" value="<?php if(isset($_POST['profession'])) echo $_POST['profession'];?>" />
      <label for="survey"/>Willingness to participate in future surveys:</label>
      <input name="survey" type="checkbox" value="Yes" />
      </fieldset>
    <fieldset>
      <input name="submit" type="submit" class="btn1" value="Complete your Registration" />
    <input class="btn" name="reset" type="reset" value="Clear Form" />
    <input type="hidden" name="submitted" value="TRUE" />
    </fieldset>
      </form>
    [/CODE]
    Thanks in advanced!

    The form HTML is incorrect.
      <form id="form1" name="form1" method="post" action"registration.php">
    you're missing a  = after action

  • Is it possible to see who has saved progress on a web form, but not submitted?

    We are using FormsCentral for our application process, and we are allowing applicants to save forms. Is it possible to see who has started a web form, and saved it, but hasn't submitted yet? Maybe by cc'ing the email notificiation they get to an admin?
    We'd like to see who is working on the applications, and also to send them a reminder that they need to complete and submit the form by the deadline.

    Hi;
    No, there isn't a way for you to see anything about who has saved progress.
    Thanks,
    Josh

  • Form Variables Don't Pass for Some Clients

    Recently, I’ve noticed some problems on one of my pages
    where form field variables aren’t passing to my action page.
    As far as I can tell, this is a new problem.
    This is the error I’m getting:
    Error resolving parameter FORM.EMAIL
    The specified form field cannot be found. This problem is
    very likely due to the fact that you have misspelled the form field
    name.
    The error is thrown when a cfquery is unable to find the form
    variable.
    The query looks, basically, like this:
    <cfquery name="Iogin" datasource="dsn">
    SELECT Count(*) AS Match
    FROM Users
    WHERE users.email = '#FORM.email#'
    AND users.password = '#FORM.password#';
    </cfquery>
    I know I could squash these errors with a cfparam or with
    other error checking, but what I’m really concerned about is
    why the form variables aren’t there. I have tested the form
    on a number of my internal clients and have not been able to
    replicate the error as it is being triggered from outside clients.
    I am able to submit a blank form or a complete form without any
    errors being thrown. I have established that the form submissions
    are coming from my site and are not being submitted by an outside
    domain.
    QUESTIONS:
    1. Does anyone know what might be happening to cause the form
    variable to disappear? Shouldn’t all the forms variables be
    submitted when a user hits the submit button, regardless of whether
    there is data in the form field?
    2. Could a firewall on the clients’ end be withholding
    the form variables without notifying the user?
    3. Have there been any recent changes to browsers that could
    be holding back form variables?
    Any help would be greatly appreciated!

    @Azadi
    quote:
    from your posts it looks like this happens to different forms
    in your application (you mentioned the email field and also a
    select box, which is presumably in some other form)
    I was able to resolve the problem with the second form (the
    one with the select box, not the one posted above). A JavaScript
    resided on that action page which triggers a service. The service
    (similar to GoogleAds) receives the page’s url from the
    JavaScript and then the service comes back and loads the page to
    evaluate the page’s content. The result: Action pages being
    loaded with no form content. My error reporting, very similar to
    what insuractive suggested, helped solve this problem.
    HOWEVER, we still periodically have trouble with the other
    form. I know from speaking with at least two users that the problem
    is a direct result of users following the planned application
    flow—form to action page. So this discussion is still
    relevant.
    @insuractive
    quote:
    you should make sure you test to see what happens when the
    client has javascript and/or cookies disabled on their browser.
    This is a good thought. I’m embarrassed to say that I
    haven’t tried accessing this form with cookies and JavaScript
    turned off. I will try this and report back.
    Thanks to all of you who are offering suggestions.

  • BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted

    Hi Team,
    We are geting following error message while running WAD reports on BI QA and Test system portal.
    Our issue is similar to the issue mentioned in SDN thread BICS_PROV_GET_INITIAL_STATE Exception
    - We are facing issue in refreshed systems.
    - Variable Entry Screen is displaying correctly.
    - After entering values once you click on "OK"  we are getting UNCAUGHT_EXCEPTION.
    - Support Desk tool is displaying green.
    - Same report is executing fine in Dev and Prod system.
    - BI Queries are running fine on Portal
    - Only WAD reports are giving exceptions
    - Support desk tool is showing green for everything.
    Error Message:
    Exception in BI runtime
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted (see long text)
    Log ID: 0018FE2D262B00A000000D68000032CA00047CFC82B5D87E
    Initial cause
    Message:
    Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION
    Stack trace:
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:130)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:221)     at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:171)
    Please help me on this
    Thanks,
    Preethish

    Hi,
    Try filtering the queries with the values of variables entries included in the filters.
    Then include them in WAD report. If that works fine then it can be a memory issue.

  • Why can I not create a PHP Form Variable binding in Dreamweaver CS6?

    I'm using Dreamweaver CS6 on Windows 7.
    Currently, I'm following along with Lynda.com tutorial:
    Dreamweaver with PHP and MySQL: Ch. 6. Building Data Entry Forms |  Handling form submissions with PHP
    I'm attempting to add a form variable binding to a PHP document, but after each time I open the menu, type in my name and press OK, it does not show up in my Bindings box.
    and then POOF:
    Can anyone tell me what I'm doing wrong here? Or what I haven't done yet?
    I haven't had a problem with the entire tutorial up until this point and I couldn't find any documentation anywhere else on how to fix my problem.

    I'm using Dreamweaver CS6 on Windows 7.
    Currently, I'm following along with Lynda.com tutorial:
    Dreamweaver with PHP and MySQL: Ch. 6. Building Data Entry Forms |  Handling form submissions with PHP
    I'm attempting to add a form variable binding to a PHP document, but after each time I open the menu, type in my name and press OK, it does not show up in my Bindings box.
    and then POOF:
    Can anyone tell me what I'm doing wrong here? Or what I haven't done yet?
    I haven't had a problem with the entire tutorial up until this point and I couldn't find any documentation anywhere else on how to fix my problem.

  • JavaScript and "pdk-html:form" Variables

    I am having a problem using javaScript with my "pdk-html:form" variables.
    Here is what the .jsp looks like:
    <SCRIPT type=text/javascript>
         function test() {
              alert("act = "+window.document.facListBean.act.value);
    </SCRIPT>
    <pdk-html:form name="facListBean" .......>
         <pdk-html:text property="act" />
    </pdk-html:form>
    The problem is that when the HTML is rendered the name of the form field "act" gets translated to "_piref584_1533941_584_1533923_1533923.act"
    Is there a simple way to handle this problem? Can someone suggest a workaround?
    Thanks,

    hi Matt,
    i've faced the same problem. The only solution i've found was that:
    cicle your form and get all the elements in it.
    var field1;
    var x=document.getElementById("myForm");
    for (var i=0;i<x.length;i++) {
    if(x.elements.name.indexOf('field1')) field1 = x.elements[i];
    []s,
    Felippe

  • ORA-01007 - variable not in select list - Oracle forms 6i

    Hi!
    I´m creating an form with one field called "txtquery". The user can write a query on this field and click on button with code above. The form will create a text file with the result of the query writing. I managed to create a function in oracle and it worked perfectly but I want to solve without creating any object in the database.
    Sorry for my bad english!
    I wrote the following code:
    DECLARE
       VISCONNECTED BOOLEAN;
       VCONEXAO EXEC_SQL.CONNTYPE;
       VARQUIVO_SAIDA TEXT_IO.FILE_TYPE;
       VCURSOR EXEC_SQL.CURSTYPE;
       VCOLUMNVALUE VARCHAR2(2000);
       VSTATUS PLS_INTEGER;
       VNUMCOLUNAS NUMBER DEFAULT 0;
       VSEPARADOR VARCHAR2(10) DEFAULT ';';
       VCONTADOR NUMBER DEFAULT 0;
    BEGIN
       VCONEXAO := EXEC_SQL.DEFAULT_CONNECTION;
       VISCONNECTED := EXEC_SQL.IS_CONNECTED;
       IF NOT VISCONNECTED THEN
          MSG_ALERT('Não conectado.', 'E', TRUE);
       ELSE
          VCURSOR := EXEC_SQL.OPEN_CURSOR;
       END IF;
       BEGIN
          EXEC_SQL.PARSE(VCONEXAO, VCURSOR, :BLK.TXTQUERY, EXEC_SQL.V7);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando parse da query!', 'E', TRUE);
       END;
       BEGIN
          IF TEXT_IO.IS_OPEN(VARQUIVO_SAIDA) THEN
             TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
          END IF;
          VARQUIVO_SAIDA := TEXT_IO.FOPEN(:BLK.TXTDIRECTORY || :BLK.TXTFILENAME, 'w');
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando arquivo no disco!', 'E', TRUE);
       END;
       BEGIN
          FOR I IN 1 .. 255 LOOP
             BEGIN
                EXEC_SQL.DEFINE_COLUMN(VCURSOR, I, VCOLUMNVALUE, 2000);
                VNUMCOLUNAS := I;
             EXCEPTION
             WHEN OTHERS THEN
                IF (SQLCODE = -1007) THEN
                   EXIT;
                ELSE
                   RAISE FORM_TRIGGER_FAILURE;
                END IF;
             END;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando define_column!', 'E', TRUE);
       END;
       EXEC_SQL.DEFINE_COLUMN(VCURSOR, 1, VCOLUMNVALUE, 20000);
       BEGIN
          VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || EXEC_SQL.LAST_ERROR_MESG || ' fazendo execute para a query!', 'E', TRUE);
       END;
       BEGIN
          LOOP
             EXIT WHEN(EXEC_SQL.FETCH_ROWS(VCURSOR) <= 0);
             VSEPARADOR := '';
             FOR I IN 1 .. VNUMCOLUNAS LOOP
                 EXEC_SQL.COLUMN_VALUE(VCURSOR, I, VCOLUMNVALUE);
                 TEXT_IO.PUT_LINE(VARQUIVO_SAIDA, VSEPARADOR || VCOLUMNVALUE);
                 VSEPARADOR := :BLK.TXTSEPARATOR;
             END LOOP;
             TEXT_IO.NEW_LINE(VARQUIVO_SAIDA);
             VCONTADOR := VCONTADOR + 1;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando linhas no arquivo texto!', 'E', TRUE);
       END;
       BEGIN
          EXEC_SQL.CLOSE_CURSOR(VCURSOR);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando cursor!', 'E', TRUE);
       END;
       BEGIN
          TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando arquivo!', 'E', TRUE);
       END;
    END;------------------------------------------
    But, on line "VSTATUS := EXEC_SQL.EXECUTE(VCURSOR);" i get the error (ORA-01007 - VARIABLE NOT IN SELECT LIST). Whats is wrong?
    Thanks a lot!!!

    The user can write a query on this field and click on button with code above.This is such a big NO NO NO! A user writing his own queries? You are really asking for problems.
    VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!What is the value of vcursor?

  • Can a form variable hold a javascript complex object?

    I have a method in a fragmentScript script object that creates a javascript object formatted like below:
    customerObject
        name      [string]
        address  [string]
        city        [string]
        state      [string]
        list of accounts    [array]
    When the script is done executing, the subform containing the script gets hidden, and needs to pass the object to another subform which becomes visible. 
    Can I pass this object via a form variable (located under File-Form Properties, Variables tab)?  That is, can a form variable contain a complex javascript object?
    Thanks,
    Elaine

    Hey Bruce, I'm having a problem with the eval funtion returning a null, can you help me?
    Here's my code snippet:
    var tempRetCust = objFragment.resolveNode("returnCustomerObj");    //this is good  
    var objCustomer = myCustomerObject;     tempRetCust= objCustomer.toSource();     app.alert("tempRetCust "
    + tempRetCust);       //  the toSource method works great and the alert here returns proper data
    var retCust = eval(tempRetCust.value);   if (retCust==null ) app.alert ("return cust is null");     // the eval doesn't seem to work and the retCust variable is null.
    Thanks!
    Elaine

  • Error: State cannot be saved as variables are not submitted in WAD (Portal)

    Hi Gurus,
    I am getting the following error :
    After opening the report and selecing the free characteristics if I want to go back one screen by right click(context menu)-> Back->Back one Navigation Step it is throwing the following below short dump in the EP portal,please help ASAP:
    The initial exception that caused the request to fail was:
    Error: State cannot be saved as variables are not submitted
    Currently I am on support pack 17.
    Thanks to all.

    hi sunita,
    please check ur bi java pack,
    BIJava patch SPS16p30 fixes the problem,
    such problem can be solved by upgrading java patched.
    hope it will help u.
    thanks.

Maybe you are looking for