Form Validation using Javascript error when adding extra fields

Hi,
I have a form (with a few fields which require validation) which works just fine.  I have added extra fields to the form and require them to validate too.  My problem is that they are not showing via the behaviours/validation box and I can't figure out how to sort it!  They are contained within the form element.  I have tried to delate the original validation and start again but to no avail.
Please can someone help me?
Code below.
Many thanks
function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
//-->
<form action="contact_us.asp" method="post" name="contact" target="_parent" class="contentText" id="contact">
      <table width="100%" border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td width="54%" class="subHeader">Full Name* </td>
          <td width="46%" class="subHeader"><input name="FullName" type="text" id="FullName" /></td>
        </tr>
        <tr>
          <td class="subHeader">Company Name </td>
          <td class="subHeader"><input name="CompanyName" type="text" id="CompanyName" /></td>
        </tr>
        <tr>
          <td class="subHeader">Address</td>
          <td class="subHeader"><input name="Address1" type="text" id="Address1" /></td>
        </tr>
        <tr>
          <td class="subHeader"> </td>
          <td class="subHeader"><input name="Address2" type="text" id="Address2" /></td>
        </tr>
        <tr>
          <td class="subHeader"> </td>
          <td class="subHeader"><input name="Address3" type="text" id="Address3" /></td>
        </tr>
        <tr>
          <td class="subHeader">Postcode</td>
          <td class="subHeader"><input name="Postcode" type="text" id="Postcode" /></td>
        </tr>
        <tr>
          <td class="subHeader">Telephone Number* </td>
          <td class="subHeader"><input name="Telephone" type="text" id="Telephone" /></td>
        </tr>
        <tr>
          <td class="subHeader">Mobile Number </td>
          <td class="subHeader"><input name="Mobile" type="text" id="Mobile" /></td>
        </tr>
        <tr>
          <td height="25" class="subHeader">Email Address* </td>
          <td class="subHeader"><input name="Email" type="text" id="Email" /></td>
        </tr>
        <tr>
          <td height="30" class="subHeader">Status*</td>
          <td class="subHeader"><select name="StatusClass" id="StatusClass">
            <option selected="selected">Please Choose</option>
            <option>Architect</option>
            <option>Interior Designer</option>
            <option>Private Client</option>
            <option>Student</option>
            <option>Trade Enquiry</option>
          </select>          </td>
        </tr>
        <tr>
          <td height="23" class="subHeader">Project*</td>
          <td class="subHeader"><select name="Project" size="1" id="Project">
            <option selected="selected">Please Choose</option>
            <option>Planning Stages</option>
            <option>New Build</option>
            <option>Refurbishment</option>
            <option>Barn Conversion</option>
            <option>No project - information only</option>
          </select>          </td>
        </tr>
        <tr>
          <td height="37" class="subHeader">How did you hear about us?*</td>
          <td class="subHeader"><select name="CameFrom" size="1" id="CameFrom">
            <option selected="selected">Please Choose</option>
            <option>Web Search</option>
            <option>Grand Designs</option>
            <option>Living Etc</option>
            <option>Home Building &amp; Renovation</option>
            <option>Architect</option>
            <option>Friend/Family</option>
            <option>Magazine/Editorial</option>
            <option>Newspaper Article</option>
            <option>Trade Show/Exhibition</option>
            <option>Other</option>
          </select></td>
        </tr>
        <tr>
          <td height="24" class="subHeader">Brochure Request </td>
          <td class="subHeader"><input name="Brochure" type="checkbox" id="Brochure" value="checkbox" /></td>
        </tr>
        <tr>
          <td class="subHeader">Message</td>
          <td class="subHeader"><span class="style4">
            <textarea name="Message" id="Message"></textarea>
          </span></td>
        </tr>
        <tr>
          <td class="subHeader"> </td>
          <td class="subHeader"><input name="Submit" type="submit" value="Submit" /></td>
        </tr>
        <tr>
          <td colspan="2" class="subHeader"><em>* Required fields</em></td>
        </tr>
      </table>
      </form>

whoops..... forgot to post this line of code which was a bit further down the page...
"MM_validateForm('name','','R','number','','RisNum');return document.MM_returnValue">

Similar Messages

  • Javascript error when adding Flash movie to DWCS3

    When I try to add a Flash movie to a page in DW CS3, I get
    the following message:
    When executing onClick Options.htm, the following Javascritp
    Error(s) occurred:
    At line 55 of the file "I:\Program FIles\Adobe\Adobe
    Dreamweaver CS3\Configuration|Commands|Object|Object Options.js":
    Cannot fine the file I:\Program FIles\Adobe\Adobe|adobe
    Dreamweaver CS3\Configuration\Shared\Common\Cache\Empty.htm.
    At line 55 of the file "I:\Program FIles\Adobe\Adobe
    Dreamweaver CS3\Configuration\Commands\Object Options.js":
    getDocumentDOM: Argument number 1 is invalid.
    If I click through the error messages, I finally get the
    movie on the page and it seems to display okay in IE6 ahd FX.
    I don't get the error when I load a Flash movie if I use DW
    8.
    Do I need to reload DWCS3? Or is there a fix that I can
    download. It seems to be a problem with DWCS3.
    Regards,
    Bill Schaepe

    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "TurboBill" <[email protected]> wrote in
    message
    news:flrsjd$6kh$[email protected]..
    > When I try to add a Flash movie to a page in DW CS3, I
    get the following
    > message:
    >
    > When executing onClick Options.htm, the following
    Javascritp Error(s)
    > occurred:
    >
    > At line 55 of the file "I:\Program FIles\Adobe\Adobe
    Dreamweaver
    > CS3\Configuration|Commands|Object|Object Options.js":
    > Cannot fine the file I:\Program FIles\Adobe\Adobe|adobe
    Dreamweaver
    > CS3\Configuration\Shared\Common\Cache\Empty.htm.
    >
    > At line 55 of the file "I:\Program FIles\Adobe\Adobe
    Dreamweaver
    > CS3\Configuration\Commands\Object Options.js":
    getDocumentDOM: Argument
    > number
    > 1 is invalid.
    >
    > If I click through the error messages, I finally get the
    movie on the page
    > and
    > it seems to display okay in IE6 ahd FX.
    >
    > I don't get the error when I load a Flash movie if I use
    DW 8.
    >
    > Do I need to reload DWCS3? Or is there a fix that I can
    download. It
    > seems
    > to be a problem with DWCS3.
    >
    >
    > Regards,
    > Bill Schaepe
    >
    >

  • HTMLB Form Validation using JavaScript

    Hi All,
    <b>
    I have created a portal appliaction using JspDynPage.
    I have created a form using HTMLB tags. I want to validate the inputfields before sending it to the server for processing.
    The validation has to be done using Javascript
    </b>
    <b> How do i got about this ??? </b>
    regards
    Brahmachaitanya

    I have written the following code to perform the validation.......
    <b>
    function validate()
              var funcName=htmlb_formid+"_getHtmlbElementId";
                func=window[funcName];
              var inpBox1 = eval(func('if1'));
              var eno=inpBox1.getValue();
              if(eno=='' || eno==null)
                   alert('Please Enter Employee Number');
                   htmlbevent.cancelSubmit=true;
              var inpBox2 = eval(func('if2'));
              var ename=inpBox2.getValue();
              alert(ename);
              if(ename=='' || ename==null)
                   alert('Please Enter Employee Name');
                   htmlbevent.cancelSubmit=true;
              var inpBox3 = eval(func('absencetype'));
              var atype=inpBox3.getValue();
              if(atype=='' || atype==null)
                   alert('Please Enter Absence Type');
                   htmlbevent.cancelSubmit=true;
              var inpBox4 = eval(func('if4'));
              var from=inpBox4.getValue();
              if(from=='' || from==null)
                   alert('Please Enter From Date');
                   htmlbevent.cancelSubmit=true;
              var inpBox5 = eval(func('if5'));
              var to=inpBox5.getValue();
              if(to=='' || to==null)
                   alert('Please Enter To Date');
                   htmlbevent.cancelSubmit=true;
              var inpBox6 = eval(func('if6'));
              var approve=inpBox6.getValue();
              if(approve=='' || approve==null)
                   alert('Please Enter Approver Name');
                   htmlbevent.cancelSubmit=true;
    </b>
    The problem now is that i am getting the <b> alert message only for Employee Number.</b>
    <b> I am not getting the alerts if I leave the the other fields blank </b>
    <b> How do i go about this ????????? </b>
    regards
    Brahmachaitanya

  • JavaScript Error when adding Insert Record Server Behaviour

    Hello,
    I have searched the Internet and the Adobe Community but have yet resolved a problem.
    Everytime I go to Server Behaviours and choose Insert Record I get this error:
    I have never had this error before and I have used the function many times. Some people are saying it is corrupt configuration files, which I have deleted and still the error persists.
    I am now stuck and cannot do any more work until I have fixed this problem. Any help would be greatly recieved.
    Just so you know I am running Dreamweaver CS5 on Windows 8.1 Enterprise.
    Many thanks

    Below is the whole enchilada on JS Errors.  Start with #6 and #10.
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Nancy O.

  • JavaScript Error when adding the Server Behaviors for insert Record in php_mysql

    Hi guys,
    I am using Adobe DreamWeaver CS4.
    Here is the Scenerio, i am doing  php mysql driven website.
    While adding the server behavior for insert record i got following error
    Plz help me..
    Thanks in Advance
    RafelNash

    Have you found a fix to this??

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Pre-validation using JavaScript cannot work in JSF?

    Sometimes we need to do pre-validation using JavaScript in some senarios that data need be entered and validated at client site before it reaches to Web Application Server. Remind that JSF is a server validation. Creator seems not to allow Developers to do pre-validation using JavaScript for any editable input fields in form. I will illustrate an example and hope anyone can help me to solve it out.
    Assume that if we write the a new web page that allows User enters Name and Phone. The pre-validation function called test() is written in JavaScript for validating field Phone. For simplicity, the below HTML/JavaScript without nested in table is a simple one for HTML form.
    <html>
    <body>
    <script language="JavaScript">
    function test(){
         if (form1.phone.value == "")
              alert("Please enter phone number in digits.");
              return false;
    </script>
    <form name=form1>
    <input id="phone" type="text" size=20><Br>
    <input id="name" type="text" size=20><Br>
    <input type="submit" id="submit" onclick="test()" value="Submit">
    </form>
    </body>
    </html>
    Now, we consider using Java Studio Creator to generate the same form as describing above. The script is shown below:
    <?xml version="1.0"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <html>
    <head>
    <title>testForm Title</title>
    </head>
    <body rave-layout="grid">
    <h:form binding="#{testForm.form1}" id="form1">
    <h:inputText binding="#{testForm.textField1}" id="phone" style="position: absolute; left: 192px; top: 96px; width: 168px; height: 23px"/>
    <h:inputText binding="#{testForm.textField2}" id="name" style="position: absolute; left: 192px; top: 144px; width: 168px; height: 23px"/>
    <h:commandButton binding="#{testForm.button1}" id="submit" style="position: absolute; left: 192px; top: 216px" value="Submit"/>
    </h:form>
    </body>
    </html>
    </f:view>
    </jsp:root>
    After running Script that Creator created, the HTML is generated and reduced (for simplicity) as follows:
    <f:view>
    <html>
    <body rave-layout="grid">
    <form action="/rave/rave" id="form1" method="post">
    <input id="form1:Phone" type="text"></input>
    <input id="form1:name" type="text"></input>
    <input id="form1:button1" value="Submit" onClick="test()"></input>
    </body>
    </html>
    </f:view>
    Take a look carefully at <input> elements. We see the syntax for naming for each "input" element that there is a semi colon added between form1 and phone or form1 and name. This syntax is generated from built-in JSF components. Hence, I rewrite the test() JavaScript function to match with the naming that Creator generated as follows:
    <script language="JavaScript">
    function test(){
         if (form1.form1:Phone.value == "")
              alert("Please enter phone number in digits.");
              return false;
    </script>
    Clearly, this JavaScript cannot be worked because of a semi column that Creator has named it.
    I have tried to work arround for this but cannot find a solution except changing the name such as: from <input id="form1:phone" ...> to <input id="form1_phone" ..>. But I could not change or modify the scripts because it is generated from JSF components when running it under browser.
    I guess to solve this problem, the naming for elements in form should be reconsidered in the next release of Java Studio Creator.

    Hi Marie,
    I currently sucess in client pre-validation using JSF. I found a way to do it.
    Please take a look of how javascript has been added in the following scripts:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <html lang="en-US" xml:lang="en-US">
    <head>
    <meta content="no-cache" http-equiv="Cache-Control"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <title>login Title</title>
    </head>
    <body style="-rave-layout: grid">
    <h:form binding="#{login.form1}" id="form1">
    <h:outputLabel binding="#{login.componentLabel1}" for="componentLabel1" id="componentLabel1" style="position: absolute; left: 216px; top: 72px">
    <h:outputText binding="#{login.componentLabel1Text}" id="componentLabel1Text" value="Application System Name"/>
    </h:outputLabel>
    <h:panelGrid binding="#{login.gridPanel1}" columns="3" id="gridPanel1" style="position: absolute; left: 72px; top: 168px; width: 504px; height: 100px">
    <h:outputLabel binding="#{login.componentLabel2}" for="componentLabel2" id="componentLabel2">
    <h:outputText binding="#{login.componentLabel2Text}" id="componentLabel2Text" value="User Name: "/>
    </h:outputLabel>
    <h:inputText binding="#{login.textField1}" id="textField1" onclick="" style="width: 149px; height: 22px"/>
    <h:outputText binding="#{login.outputText1}" id="outputText1"/>
    <h:outputLabel binding="#{login.componentLabel3}" for="componentLabel3" id="componentLabel3">
    <h:outputText binding="#{login.componentLabel3Text}" id="componentLabel3Text" value="Password: "/>
    </h:outputLabel>
    <h:inputSecret binding="#{login.textField2}" id="textField2" style="width: 147px; height: 22px"/>
    <h:outputText binding="#{login.outputText2}" id="outputText2"/>
    <h:outputLabel binding="#{login.componentLabel4}" for="componentLabel4" id="componentLabel4">
    <h:outputText binding="#{login.componentLabel4Text}" id="componentLabel4Text"/>
    </h:outputLabel>
    <h:commandButton action="#{login.ok_action}" binding="#{login.button1}" id="button1" onclick="return checkUserIdentity(this.form)"
    style="width: 90px; height: 25px" value="OK"/>
    <h:outputLabel binding="#{login.componentLabel5}" for="componentLabel5" id="componentLabel5">
    <h:outputText binding="#{login.componentLabel5Text}" id="componentLabel5Text"/>
    </h:outputLabel>
    </h:panelGrid>
    </h:form>
    </body>
    <script type="text/javascript">
    function checkUserIdentity(form){
    var userName = form["form1:textField1"].value;
    var userPassword = form["form1:textField2"].value;
    if (userName == "") {
    alert("Please enter User Name.");
    form["form1:textField1"].focus();
    return false;
    if (userPassword == "" ){
    alert("Please enter password.");
    form["form1:textField2"].focus();
    return false;
    form.submit();
    return true;
    </script>
    </html>
    </f:view>
    </jsp:root>
    The key for getting data value from Form based on Javascripts is var userName = form["form1:textField1"].value;
    Thanks,
    VTT_

  • MacPro backed up to Time Machine, added Mac Mini now get "The backup disk image "/Volumes/Data/Jerry Booher's MacBook Pro.sparsebundle" is already in use." error when Mac Pro tries to back up

    MacPro backed up to Time Machine, added Mac Mini now get "The backup disk image “/Volumes/Data/Jerry Booher’s MacBook Pro.sparsebundle” is already in use." error when Mac Pro tries to back up

    It is standard Mountain Lion error due to the networking ability which is comparable to wet string. (actually that was lion.. it dried out some with Mountain Lion.. higher in the hills perhaps!!)
    See C12 and C17
    http://pondini.org/TM/Troubleshooting.html
    But many people are suffering the same issue..
    And the above is even a little out of date.. you might need to do a reset to the TC.
    Welcome to Apple's beta program for everyone.

  • Javascript error when send email using webmail

    Dear Sun,
    One of our user encounter javascript error when try sending email using webmail below is the error message:
    " +https://webmail.ubd.edu.bn/uwc/webmail/comp_fs_lr.html&rev=3&security=false&lang=en&popupLevel=undefined&cal=1&charset=escaped_unicode, Line 1755+
    +Permission denied+
    "

    Hi Shane,
    below is the answer you need
    What browser is the user using?
    => Firefox and IE
    What browsers have you tested where it doesn't occur?
    =>I tested all the browser (firefox,IE, chrome) it doesn't happen to me
    When did this problem first start?
    =>After the user finish compiled his message and click send
    What is the exact version of UWC you are running (./showrev -p | grep uwc)
    =>Patch: 122793-26 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-29 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-31 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Does this error occur all the time? Does it occur for every user, or some users or just one user?
    => Not all the time, so far i just receive one complaint .

  • Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled

    When I try to add any new menu in my newly cloned instance I get this error:
    Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled excpetion. ORA-04031.
    Using Oracle EBS version 12.1.3.
    Details:
    Menu JOB_STRUCTURE_MENU
    User Menu Name Job Strucure Menu
    Menu Type Standard
    Description Menu to add job, grade, and incentives
    Seq = 1
    Prompt = Enter and Maintain
    Function = Combined Person & Assignment Form WF="US SHRMS TSKFLW
    When I click save I get the error.
    Any assistance would be greatly appreciated.
    Thanks!

    Please post the details of the application release, database version and OS.
    When I try to add any new menu in my newly cloned instance I get this error:
    Error when adding any menu - FRM-40735: ON-INSERT trigger raised unhandled excpetion. ORA-04031.Is the issue with all menus or specific ones only?
    Did AutoConfig complete successfully?
    When I click save I get the error.
    Any assistance would be greatly appreciated.Do you have any invalid objects in the database?
    Any errors in the database log file?
    Please obtain FRD log file for details about the error -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Javascript error when viewing IE 8 (autosizing popup)

    Experiencing script error in IE8 when trying to display webpage created in Robohelp 8. The problem does not exist on other computers in my office.
    This function was working and now it is not.
    Do I need to change my code some how? I have already tried to reset default setting and deleted some additional tool bar that were added.
    I don't know if this problem is with IE8 or Robohelp 8.
    At a lost....PLEASE HELP!!!
    error reads
    Script Error ! An error has occured in the scirpt on this page.
    Line 1122
    Char 3
    Error  'innerWidth' is undefined
    Code )
    URL: file///C:/Courtroom_Services/ehlpdhtm.js
    Monette

    Thanks for responding...
    Yes, output is Webhelp.
    I have generated my project with every change. When a different user uses
    my pc the autosize popup windows work.'
    I need discover that IE does not support innerwidth, with is in my file
    eHlpDtm.js (a file in RoboHelp)
    I am not aware of using a rendering plugin such as chrome frame.
    Webhelp works fine in Mozilla.
    Any suggestion how to fix the problem in IE8
    Thanks,
    Ms. Monette
                                                                                    Willam van                                                   
                 Weelden                                                      
                 <[email protected]                                          To
                 >                         "Ms. Monette1129"                  
                                           <[email protected]
                 10/14/2011 12:34                                           cc
                 AM                                                                               
    Subject
                                           Javascript error when   
                 Please respond to         viewing IE 8 (autosizing popup)    
                 jive-214998122-qq                                            
                 [email protected]                                            
                  orums.adobe.com                                                                                

  • Javascript errors while adding attachment to list on ribbon sp 2013

    Hi All,
    Javascript errors while adding attachment to list sp 2013
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; InfoPath.3)
    Timestamp: Mon, 20 Oct 2014 09:49:13 UTC
    Message: Object required
    Line: 1
    Char: 122565
    Code: 0
    URI:
    https://server.com/_layouts/15/form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D
    Screen become blank and nothing is dosplayed  when attach item is clicked for custom list
    Ravi

    Hi Ravi,
    According to your description, my understanding is that you encountered the error "Object required" when you try to add attachment to list in SharePoint 2013.
    For your issue, you can refer to the blog:
    http://kiran-kakanur.blogspot.com/2010/02/how-to-resolve-object-required-error-in.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

  • Error when adding Essbase server...

    Hi,
    I installed Hyperion System 9.3.1 in my development machine and encounter the following error when adding a Essbase server in AAS for the first time.
    Error: 1042017: Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again.
    I used the default user "admin" and password "password". I used my servername:10080 as the server name. I hope I am right.
    Why is this happening? I tried changing netdelay settings but still get the same. Is this something else? Does this have anything to do with my TCP/IP settings? I am installing this on a virtual PC.
    I couldn't find an answer in previous posts.
    regards
    h

    The things that come to mind:
    The server name you use should be the name of the virtual PC, not the machine it's running on. Also, depending on the settings for the Virtual PC environment, you may have to change the network options to allow it to be visible to the network, be in the right domain, etc...
    The above may or may not get you any closer, the error message itself is just saying it can't receive a response from the server, which means the server never got the request or can't send a response back.
    Good Luck,

  • How do I fix a javascript error when opening Dreamweaver?

    DW CS6 recently started having 2 JavaScript errors while opening the application and at least 1 additional JavaScript error when using the Insert Image command.  Can someone provide some advice on fixing this issue?

    This will help -
    Index to Dreamweaver FAQ
    Look at the very first issue.

Maybe you are looking for

  • Is there a way to sync videos with iTunes?

    Umm I used Videora to convert a movie (mpeg) file and it came out kinda wrong. Is there a way to sync it with iTunes? any help is appreciated

  • Why this simple IF - ENDIF is NOT working??

    Hi Experts, Am wrting a simple  IF condition with WILD CARD value , in the user exit, as below, if xlikp-lgbzo = 'AB'. (pls. notice that, there is WILD CARD in the 'AB' value) sy-subrc = 0. else. sy-subrc = 4. endif. 1) Say, the XLIKP-LGBZO value = A

  • Preview Problems

    I have noticed several irritating issues with Preview.  Although I have found Preview to be at the core of my everyday work, and very powerful and flexible, there are some problems with the program that are simple coding issues (apparently) that is u

  • Accounting enrty for Check receipt for scrap sale in FBCJ - Cash Journal

    Dear All Experts, Good Morning ! I have to setup a business transaction where my user is getting a cheque for miscellaneous incomes. Like scrap sale, commission received. Currently need to setup for above to scenario's. 1 ) Scrap Sale. 2 ) Commission

  • Server Logon History table in master database has grown to 30GB. Is it a best practice to truncate this table?

    I have noticed that the master database in our staging env has grown to 30Gb with 299803769 records. I am not sure why but this has happened in the last one year. Just from yesterday to today (1/1/2014 to 1/2/2014) it has 629921 records. Is it a good