Echo text on Contact Form 7 submit button click (WordPress)

227
December 16, 2017, at 2:04 PM

I have put the attribute name on contact form 7 plugin. I am trying to run a query after submit button on CF7 is clicked. But first for testing purposes I am trying to echo the text.

This is the code I am using

<?php 
if (isset($_POST["cf7-submit"]))
   {
       echo 'test text';
   }
?>

I have edited the plugins submit modules and added to have the name 'cf7-submit' I don't see my echo anywhere!

READ ALSO
fatal: Uh oh. Your system reports no Git commands at all

fatal: Uh oh. Your system reports no Git commands at all

I'm trying to preform a 'git pull origin master' from a shell exec on a cpanel server however I keep getting the error 'fatal: Uh ohYour system reports no Git commands at all

1328
How do i exit when error from new CallbackFilterIterator

How do i exit when error from new CallbackFilterIterator

I'm trying to get the files in a directory in my filesystemDid some research here and found the necessary info to create the following piece of code that works perfectly!

123
unexpected &#39;A&#39; Postman php api with JSON Response

unexpected 'A' Postman php api with JSON Response

Recently I try to create an API with PHPall thing goes alright till suddenly I face unexpected 'a' error when trying to parse a JSON from the request throw Postman

203
Best way to handle an uploaded file until all checks are done

Best way to handle an uploaded file until all checks are done

In my case, at the end, uploaded files will be stored in a storage path, not publicly available and the relative path is saved in a database

121