Contact Form 7 Send data form to another php page
-
hello to everybody
i’m looking for a help,
this is my site:
https://www.flyparkingfirenze.com/
as you can see i’m using the contact form 7 in homepage, i would like to use the data that every client field in the form and send it to another PHP page.
How can i do it?
I have add this code to the button action for go to page Prenota:
on_sent_ok:
“location.replace(‘https://www.flyparkingfirenze.com/prenota/?data_in=’+3+”)
;”and it’s working good but is only the redirect at the click,
also this code in functions.php://change action url of paystation
form
/*
add_filter(‘wpcf7_form_action_url’,
‘wpcf7_custom_form_action_url’);
function
wpcf7_custom_form_action_url($url)
{
global $post, $wpcf7;$wpcf7->skip_mail = 1;
return ‘/prenota’;
}
*/but the plugin doesn’t work.
someone knows how can i solve this problem?
Thanks in advance bye
- The topic ‘Contact Form 7 Send data form to another php page’ is closed to new replies.