Forwarding Input to URL
-
Hey, everybody,
I have created the following form:[number Adults min:1 max:4 placeholder "2"] [date Arrival min:today] [date Departure] [submit "Send"]Now I would like to forward the input after sending via link.
The best would be something like that:<script> document.addEventListener( 'wpcf7mailsent', function( event ) { location = 'http://example.com/tbooking?reset=1&date_from=Arrival&date_to=Departure&number_adult[]=Adults'; }, false ); </script>to get a Link like:
http://example.com/tbooking?reset=1&date_from=15.10.2019&date_to=17.10.2019&number_adult%5B%5D=3Do I need another plugin for this or can I do it with the existing and programming part?
Many thanks to everyone who helps me.
Best regards
Stephen
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Forwarding Input to URL’ is closed to new replies.