I've used this tutorial to build a contact form using the Bootstrap framework. However, with literally no knowledge of PHP, I'm having difficulty implementing a MailChimp API with validation. I've found a MailChimp API tutorial, but am not able to get the validation working. Can anybody help me adjust the contact.php file indicated in tutorial 1 to get the API working with validation?
Asked
Active
Viewed 722 times
2
-
in that bootstrapious tutorial they're using [native `mail()` function](http://php.net/manual/en/function.mail.php), is there any reason why you prefer to use MailChimp? I'm asking this because not only code is involved here, so would need to know about MailChimp configurations. – mloureiro Oct 21 '17 at 18:44
-
I would prefer to not have to manually update my mailing list. – Joshua Barnhouse Oct 21 '17 at 21:22
1 Answers
0
The second tutorial you've provided was working just fine for me. What kind of validation were you referring to? First, I just took API key and list ID as described and created the two php files provided. Second, I edited the action.php and changed line 9 and 10, replacing the string for my own.
When you integrate it into your bootstrap page, make sure to change the ending of the file from html to php.

Skybrush
- 115
- 1
- 1
- 6