pirireis
Member
Posted 7 months ago #
I'm using cf7 Dynamic Text Extension plugin to pass name value from the first form to second form but name value returns as "undefined". Is there anything wrong with these codes?
Form 1
[text* name]
Form 1: Additional Settings
on_sent_ok: "location = '?page_id=123?name='+jQuery('#name').val();"
Form 2
[dynamictext* name "CF7_GET key='name'"]
Result:
?page_id=123?name=undefined
http://wordpress.org/extend/plugins/contact-form-7/
Haven't used the extension but double ?'s is wrong.
You could try
on_sent_ok: "location = '?page_id=123&name='+$('#name').val();"
Is it possible to have paged forms with that?
caligan
Member
Posted 6 months ago #
Hello I had the same problem and we need to add an id to [text* name] =>
[text* name id:name]
It works with me...