Viewing 2 replies - 1 through 2 (of 2 total)
  • It does not seem as though you are using a forms plugin in WordPress for the green form on the left. This type of stuff is built into forms as merge tags in plugins like Gravity Forms.

    If you are just calling a php mailer script, just include this in your massage variable:
    $uri = $_SERVER[‘REQUEST_URI’];
    echo $uri; // Outputs: URI

    It will output the URL of the page the visitor was on when they submitted the form.
    The crappy way would be to have a drop down of all the cars – but that’s probably too much maintenence.

    Thread Starter hma66

    (@hma66)

    Thank you for willing to help. Now I have changed the theme a bit. Now, I can use a Jetpack-based form. may I know what code should I include in that form to get the desired results?

    Thanks agaiun

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding product name in the contact form’ is closed to new replies.