• Resolved zait

    (@zait)


    Hey,
    I have a simple problem.

    This is shortcode in CF7 [dynamichidden produkt “CF7_GET key=””]
    This is shortcode that should displace value [produkt]
    This is shortcode that display CF7 on page [contact-form-7 id=”324″ title=”Zapytanie” produkt=”‘T1′”]

    I can’t figure out how to display hand written value in this case T1 in CF7 form.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Sorry, I’m not clear on what you mean

    The plugin just takes the output the shortcode and sets it in the form as the value of an input. You can use that ability in many ways, but it’s up to you how to do so.

    Thread Starter zait

    (@zait)

    I will have many forms in one page. I wont to add 1 contact form with different values to know what product client ask.

    I need to hand write a value in shortcode to display it.

    This code display whole contact form on front page
    [contact-form-7 id=”324″ title=”Zapytanie” produkt=”‘T1′”]

    I need to send a value “T1” in a contact form how i can do that?
    Then i will add on same page more contact forms like
    [contact-form-7 id=”324″ title=”Zapytanie” produkt=”‘X4′”]
    [contact-form-7 id=”324″ title=”Zapytanie” produkt=”‘F5′”]
    etc. Different values.

    Plugin Author sevenspark

    (@sevenspark)

    CF7 DTX doesn’t deal with the [contact-form-7] shortcode, but with the form tags within the CF7 configuration screen. You’re trying to modify the [contact-form-7] shortcode, which I don’t think is possible since that’s defined by Contact Form 7 itself.

    Now, if you had the form on a separate page, you could use a single form and submit GET variables to that page and have CF7 DTX pick it up. That’d accomplish a similar goal but with separate pages rather than multiple forms on a single page.

    Hope that helps

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom value for every form’ is closed to new replies.