• solsticephoto

    (@solsticephoto)


    Hopefully a simple question. Tried searching but could not find help

    I’d like to add a contact form to many (100’s) of pages in my site. I’d like to pass a parameter to the short code that will eventually get reflected within the form and email.

    example would be adding “param=” or similar to the short code
    [contact-form-7 id=”4″ title=”Contact form 1″ param=”page x”]

    and have this be reflected in the from where I could do something like display “your are sending this contact from ‘page x'” in the form.

    I can do this by having multiple forms — one for each page. Hoping that I could simplify this by having one form with a parameter.

    Cheers
    Eric

    https://wordpress.org/plugins/contact-form-7/

  • The topic ‘Passing a parameter to Form’ is closed to new replies.