How to create a dynamic URL using contact form 7
-
I’ve been using contact form 7 for 2 years now. I love how it handles the creation of forms. I now wish to go a step further and that is to create a dynamic src link based on the input submitted in the first form. Hopefully, an example might illustrate what I wish to achieve.
To start with I’ve installed contact form 7 together with the plugin “Send pdf with CF7” to submit the content in a PDF file. In the form, I’ve created a hidden field tag “[hidden myname default:get]” which is being parsed to the pdf content. Parsing the value of “myname” works fine. So that’s not the issue.
What I’d like to achieve is to have the value of [myname] to be parsed as part of a src link. E.g.
I actually would like to create the img src link by replacing [myname] with the actual value of the variable. I tried
, as well as a few other tryouts but they, didn’t help. Do hope you get my point.
Is there a way to create the
link dynamically based on the value that is submitted in the contact form and transferred to the form in “Send PDF for Contact Form 7”. The src link in “
” I wish to create is located in the form in the PDF contact form plugin.
Hopefully you can help me out.
Thanks in advance,
Shirley
- The topic ‘How to create a dynamic URL using contact form 7’ is closed to new replies.