{"id":13746967,"url":"https://github.com/fabioquarantini/formchimp","last_synced_at":"2026-02-21T13:34:27.123Z","repository":{"id":10578362,"uuid":"12786544","full_name":"fabioquarantini/formchimp","owner":"fabioquarantini","description":"🐵 A customizable MailChimp ajax plugin for jQuery","archived":false,"fork":false,"pushed_at":"2019-02-11T10:04:47.000Z","size":61,"stargazers_count":99,"open_issues_count":0,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-23T18:53:12.748Z","etag":null,"topics":["ajax","form","javascript","jquery","mailchimp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabioquarantini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-12T14:59:44.000Z","updated_at":"2025-08-27T12:05:09.000Z","dependencies_parsed_at":"2022-09-09T20:30:38.036Z","dependency_job_id":null,"html_url":"https://github.com/fabioquarantini/formchimp","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/fabioquarantini/formchimp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioquarantini%2Fformchimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioquarantini%2Fformchimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioquarantini%2Fformchimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioquarantini%2Fformchimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabioquarantini","download_url":"https://codeload.github.com/fabioquarantini/formchimp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioquarantini%2Fformchimp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29681810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T13:29:26.630Z","status":"ssl_error","status_checked_at":"2026-02-21T13:26:50.125Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","form","javascript","jquery","mailchimp"],"created_at":"2024-08-03T06:01:08.445Z","updated_at":"2026-02-21T13:34:27.100Z","avatar_url":"https://github.com/fabioquarantini.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# jQuery FormChimp\n\nA customizable MailChimp ajax plugin for jQuery, provides an easy and lightweight way to let your users sign up to your MailChimp list.\n\n\n#### Features\n\n- Customizable Error and Success messages.\n- Ability to specify which element the output should be appended to, if it exists or where the element should be created\n- Automatically transforms the mailchimp signup url in the JSONP format\n- Changes the value of the button if the response is successful\n- This solution is language agnostic, only dependency is jQuery.\n- is AJAX-enabled, but degrades gracefully if Javascript isn't turned on\n- Multiple sign-up forms, for multiple lists.\n\n\n## Install\n\nChoose one of the following methods:\n\n**Download source files**\n\n- [jquery.formchimp.min.js](https://raw.github.com/fabioquarantini/formchimp/master/jquery.formchimp.min.js)\n- [jquery.formchimp.js](https://raw.github.com/fabioquarantini/formchimp/master/jquery.formchimp.js)\n\n\n**Git clone**\n\n``` bash\ngit clone https://github.com/fabioquarantini/formchimp.git\n```\n\n**Bower**\n\n``` bash\nbower install formchimp\n```\n\n\n## Usage\n\n1. Create a form with the required attributes ( form action and input with name attribute. [Where do i find them?](http://kb.mailchimp.com/article/can-i-host-my-own-sign-up-forms) )\n\n\t```html\n\t\u003cform action=\"ADD MAILCHIMP URL\"\u003e\n\n\t\t\u003clabel for=\"email\"\u003eEmail*:\u003c/label\u003e\n\t\t\u003c!-- Replace MERGE0 ( default for email ) with yours *|MERGE|* tags attribute --\u003e\n\t\t\u003cinput id=\"email\" name=\"MERGE0\" type=\"email\" value=\"\" /\u003e\n\n\t\t\u003c!-- Add any fields you want --\u003e\n\n\t\t\u003cbutton type=\"submit\" value=\"Subscribe\"\u003eSubscribe\u003c/button\u003e\n\n\t\u003c/form\u003e\n\t```\n\n2. Include jQuery:\n\n\t```html\n\t\u003cscript src=\"http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js\"\u003e\u003c/script\u003e\n\t```\n\n3. Include plugin's code:\n\n\t```html\n\t\u003cscript src=\"jquery.formchimp.js\"\u003e\u003c/script\u003e\n\t```\n\n4. Call the plugin:\n\n\t```javascript\n\t$(\".form-selector\").formchimp();\n\t```\n\n\n## Settings\nFormChimp accepts settings from an object of key/value pairs.\n\n##### Example:\n```javascript\n$(\".form-selector\").formchimp({\n\tkey: value,\n\tkey: value\n});\n```\n\n## List of settings\n\n#### appendElement:\n*Selector*: Declare where the new element, containing the messages from Mailchimp will be appended to.\n\n*Default*: `$(this)`\n\n#### buttonSelector:\n*String*: Set the button selector.\n\n*Default*: `$form.find('[type=\"submit\"]')`\n\n#### buttonText:\n*String*: The message to be written on the submit button after a successful subscription.\n\n*Default*: `''`\n\n#### debug:\n*Boolean*: Activate debug message in console.\n\n*Default*: `false`\n\n#### errorMessage:\n*String*: Set custom error message given when return an error.\n\n*Default*: `''`\n\n#### onMailChimpSuccess:\n*Function*: Callback that fires on MailChimp success.\n\n*Default*: `function() {}`\n\n#### onMailChimpError:\n*Function*: Callback that fires on MailChimp error.\n\n*Default*: `function() {}`\n\n#### responseClass:\n*Selector*: Declare custom element in page for message output. (Set different classes for multiple sign-up forms)\n\n*Default*: `mc-response`\n\n#### successMessage:\n*String*: Set a custom success message.\n\n*Default*: `''`\n\n#### url:\n*String*: The mailchip list subscription url, to get the JSONP address just change `post` to `post-json` and append `\u0026c=?` at the end.\n\n*Default*: `form action attribute`\n\n## Event Hooks\nThese event hooks fire at the same time as their corresponding callbacks (ie. onMailChimpSuccess \u0026 onMailChimpSuccess)\n\n`mailChimpSuccess` : This event is triggered on Mailchip success\n\n`mailChimpError` : This event is triggered on Mailchip errors\n\n##### Example:\n```javascript\n$( document ).on( 'mailChimpSuccess', function() {\n\t// Your code here\n});\n```\n\n## License\n\n[MIT License](http://opensource.org/licenses/MIT) © [Fabio Quarantini](http://www.fabioquarantini.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioquarantini%2Fformchimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabioquarantini%2Fformchimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioquarantini%2Fformchimp/lists"}