populate a hidden form field on iframe or lavascript form

  • Profile Image
    InspiredMedia
    Asked on January 14, 2015 at 08:39 AM

    This is what I am trying to do:

    I have a test form at http://mavericktrading.com/lps/posttest/

    This page has a form embeded in an iframe

    I have a hidden field "CID" on the form and need to be able to pass that info into my database (the backend is already set up)

    So the link looks like this - http://mavericktrading.com/lps/posttest/?cid=12345

    The cid value is not static and is assigned to unique campaigns

    using the normal $_GET['cid'] as the value in the form filed does seem to work.

     

     

    How do I accomplish this?

     

  • Profile Image
    Carina
    Answered on January 14, 2015 at 11:46 AM

    I will run further tests and will get back to you later.

    If you need further support please let us know.

  • Profile Image
    Carina
    Answered on January 15, 2015 at 08:35 PM

    Unfortunately I still don't have a solution for you.

    But regarding the CID field how is it going to be filled in? Is it going to receive information from another form?

    Also which technology uses your database?

    Thank you.