• Resolved yoranheij

    (@yoranheij)


    I have a website with multiple posts, that will all link to one contact form on a seperate page.

    Can I let the contact form dynamically display the post title of the post the user came from, and also include this post title on form submission?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @yoranheij

    I hope you’re well today!

    There isn’t any way to include such post title but you can include (and display) URL of such post:

    1. Add a field of type HTML to the form
    – in that field use “insert form fields” option
    – and from the drop-down list select “HTTP Refer URL” option or simply put {refer_url} in the field

    This will display it but will not save it as it’s just a HTML field.

    2. So to save it with submission, add another field, this time of “hidden” type,
    then from the “Default value (optional)” drop-down list of the field settings select “HTTP REfer URL”.

    Best regards,
    Adam

    Plugin Support Laura – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @yoranheij,

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. Note that you can still reply on this topic.

    If you have any additional questions or require further help, please let us know!

    Best regards,
    Laura

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Include referrer/source post title on form submission’ is closed to new replies.