locked
Create an iframe and pass values RRS feed

  • Question

  • Hi

    I have made an iframe that displays the write in products on the order form. I am trying to also pass a parameter that will only display a certain amount based on a criteria of a field value for example. I have posted the script below but im not sure if i can set the iframe to only display the records that have a certain value in an attribute. Does anyone know if this can be done?

    if(crmForm.FormType == 1)
    {
    document.all.IFRAME_Orders.src="about:blank";
    crmForm.all.name.DataValue="this will be populated when saved";
    }
    else
    {
    var navWriteInProducts;
    navWriteInProducts=
    document.all.navWriteInProducts;
    if (navWriteInProducts!= null)
    {

    document.all.IFRAME_Orders.src="/IOStemp/sfa/salesorder/areas.aspx?oId=" +
    crmForm.ObjectId +
    "&oType=" + crmForm.ObjectTypeCode + "&security=852023&tabSet=areaWriteInProducts";
    }
    }


    cheers
    Wednesday, August 12, 2009 2:17 PM

Answers