Hi I wonder if anyone can help me?
I've got a call to action gravity form setup on my website where customers can enter their UK postcode and click submit. The user is then re-directed to another gravity form where they can complete their request. I've setup dynamic population so the input entered into form 1 gets populated in the second form.
For Form 1 - when a user enters data & clicks submit (Before user is directed to form 2)
Upon submit I would like to action an external php script which would validate the user entry.
I've tried various filters and actions But I just can't figure out how to action the PHP script.
Link to form1 http://my-insulation.info/ is the main page
When I input data and click submit I get the following error -There was a problem with your submission. Errors have been highlighted below.
I'm not a web developer & can't afford to hire one, If someone can offer any assistance I would greatly appreciate it -
This is what I've done or got -
//Code is placed in the themes function.php file
My PHP code can be seen here - http://pastebin.com/S9S7dH09