designnyc Posted January 6, 2013 Share Posted January 6, 2013 I'm adding a new form to a WP site that's already been set up with Contact Form 7. The form data needs to be sent to a different .asp than the other forms. I've been searching all over online and closest solution I've found is: change the "action" attribute in the form using this Filter Hook wpcf7_form_action_url. You could add the hook into your theme's functions.php and then just process the form data in your ASP page. How would I need to code the php file to customize the form action url? Not familiar with php and terms, I'm completely lost and feel it's probably simple solution which I'm unaware of and would appreciate any help. Thanks so much! Quote Link to comment https://forums.phpfreaks.com/topic/272747-php-to-change-form-action-url-for-contact-form-7-in-wp/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.