Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Need help

  1. #1
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help

    Hi, I am stuck on this problem for a few day and need some help. I am trying to display a field that have a match record with another table but I am stuck. Can anyone help me?

    Thanks.

    function showFields() {
    setStatus("Loading...")
    var ID = document.getElementById("ID").value;
    //this line giving me error message "Object Required."
    var SubNbr = document.getElementById("SubscriberID").value;
    if (ID != ''){

    var m = doAjaxCall("ShowFields", "{'ID':"+ID+"}" );
    if (m.substring(0,7) != "ERROR: "){ //We have the form data now load the form
    //We need a funciton to return the data.

    dispForm(frmCDC, m);
    getFormField(SubNbr, m);
    setSelect(ID);
    setStatus("Idle...");
    }
    else{
    alert(m);
    setStatus(m);
    }
    }
    else
    setStatus("Idle(No Match)...");

    Adding = false;
    };

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,732
    Thanks
    202
    Thanked 2,508 Times in 2,486 Posts
    hunghoang - Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.

    When posting here please help us to help you by following the posting guidelines and wrapping your code in CODE tags. This means use the octothorpe or # button on the toolbar which will insert the tags. You can (and should) edit your previous post.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •