This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Same Form, Different Landing Pages, Different Hidden Fields


  1. adrearubin
    Member

    Ok, curious request from client, hopefully i explain it correctly. We have 1 form called Form-A which writes to mysql in the the table named Form-A (hypothetically). My client wants to use the exact same form (Form-A) but on 3 different landing pages (L1, L2, L3). He wants to know which landing page gets the most attraction based on his ads. He wants 2 hidden fields on the form that will have an AD ID and URL of the landing page but he wants this all to be in the one table Form-A. He doesn't want to have 3 separate tables, just one. When he runs his report on the Form-A table he wants to be able to sort by AD-ID or URL to see which ad or url was popular.

    Does anyone know if there a way to code the hidden value to have this filled in without creating 3 separate forms which would already have the codes inside (which was my suggestion)?

    Thanks.

    Posted 9 years ago #
  2. adrearubin
    Member

    Also, he wants to send out 3 different autoresonder based on which ad or url they came in from.

    Posted 9 years ago #
  3. frankzobitz
    Member

    In answer to your first question, yes. Here are the directions: http://www.appnitro.com/doc-url-parameters

    As for your second question, I'm not sure, others may have more experience with it.

    Posted 9 years ago #
  4. adrearubin
    Member

    Hi Frank, thanks for the quick response. That's exactly what i'm looking for but I'm using an HTML document and the form is a javascript code. When i try to pass the paramaenters nothing happens

    http://www.medicarechoicesforme.com/index.html?id=form_12635&element_5_2=John&element_5_3=Doe

    It works great if I test it thru the view.php file.

    Thanks.

    Robert

    Posted 9 years ago #
  5. frankzobitz
    Member

    Have you tried modifying the javascript code to add the elements? Inside the javascript code:

    var __machform_url = 'http://www.medicarechoicesforme.com/machform/embed.php?id=12635&element_5_2=John&element_5_3=Doe';

    Posted 9 years ago #

RSS feed for this topic

Reply