Reputation: 2678
Any idea why submitted form data loads the search.php page instead of submitting form?
URL: http://domain/contact-us/
I have changed the plugin from ContactForm7 to WPForms but it turns out it's something not related to plugin.
Upvotes: 0
Views: 72
Reputation: 1144
Well your form opening tag looks like this:
<form method="get" action="http://newdev.propakistani.pk" role="search">
So its doing exactly as per this tag. You need to amend action to the URL of the php file that processes the form.
Upvotes: 3