I have never used Wordpress. It is my friends project .He has a wordpress form it is built using the default form. He has asked to run a logic on all the input i.e. to check