The Email Capture form has two inputs Name and Email and then there is a Submit button
I need the coding to create this sequence:
On clicking Submit
1 the two inputs are validated with js and php – both are required – and the IP Address is also captured
2 Name, Email and IP address are added to a MySQL database. (will need details for the database fields)
3 Name, Email and IP are sent to 2 different email addresses. The two email addresses will be static email addresses. (no email is sent to the submitter)
4 the submitter is redirected to a thank you page
Should be fairly straighforward ...