Dynamic text field not populating
-
Hi there,
I have followed this tutorial (http://sevenspark.com/code/how-to-create-a-dynamic-wordpress-contact-form) with the aim of populating a form field with the post title of the post the user was previously on.
In my post template file, I have added the code:
global $post; echo '<a href="http://www.neuautolease.com/ldnal15sb/?page_id=66?car='.urlencode(get_the_title($post->ID)) .'">Get A Quote</a>'; ?>In the form I have set up a dynamic text field which produced this short code:
[dynamictext dynamictext-33 uneditable “CF7_GET key=’car'”]
When the link is clicked, the post title is added to the url of the form like this:
http://www.neuautolease.com/ldnal15sb/?page_id=66?car=Audi+TT+Roadster
But the dynamic text field is not being populated.
Have I missed something out or made a mistake?
Any help would be hugely appreciated!https://ww.wp.xz.cn/plugins/contact-form-7-dynamic-text-extension/
The topic ‘Dynamic text field not populating’ is closed to new replies.