• Resolved masterbip

    (@masterbip)


    Hi there.
    Thanks for this awesome plugin!

    Ok. I know I can get values from URL to pre-populate forms.
    As example
    ?name=This Is The Name
    I use in CF7
    "CF7_GET key='name'"
    and got something like
    <input id="dtxt-name" class="wpcf7-text dtxt-name" type="text" size="40" value="This Is The Name" name="dtxt-name">

    But … what if I want to get and img url
    ?image=https://www.mysite.com/image.jpg

    And print it inside image “SRC” value, not inside input?
    <img src="https://www.mysite.com/image.jpg"/>

    Same thing for a link:
    ?moreinfo=https://www.mysite.com/somepostwithinfo

    Something like:
    <a href="https://www.mysite.com/somepostwithinfo" target="_blank">The Link</a>

    Any Ideas?
    Thanks in advance!

    https://www.ads-software.com/plugins/contact-form-7-dynamic-text-extension/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get value and turn into "img src"’ is closed to new replies.