All Projects → fabioquarantini → Formchimp

fabioquarantini / Formchimp

A customizable MailChimp ajax plugin for jQuery

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Formchimp

Form
jQuery Form Plugin
Stars: ✭ 5,122 (+5126.53%)
Mutual labels:  ajax, form, jquery
Ecommerce
We're going to take you step-by-step to build a modern, fully open-source, eCommerce web application using Python, Django, Bootstrap, Javascript, and more.
Stars: ✭ 980 (+900%)
Mutual labels:  mailchimp, ajax, jquery
Django Bootstrap Modal Forms
A Django plugin for creating AJAX driven forms in Bootstrap modal.
Stars: ✭ 244 (+148.98%)
Mutual labels:  ajax, form, jquery
Bunny
BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.
Stars: ✭ 473 (+382.65%)
Mutual labels:  ajax, form
Bpage
Based on bootstrap style, static page jump can also be asynchronous page processing pagination plugin
Stars: ✭ 96 (-2.04%)
Mutual labels:  ajax, jquery
Web
适合java新手入门练习的java web个人网站项目,目前主要维护web-mysql和web-psql两个分支。前台包括博客、代码库、文件下载、留言、登录注册、站内搜索、分类目录等功能,后台包括上传文件、博客、代码,编辑、删除文章,修改个人资料等功能,目前暂停开发新功能。网址:https://demo.hemingsheng.cn ,觉得不错的欢迎 star。 手机版网址:
Stars: ✭ 414 (+322.45%)
Mutual labels:  ajax, jquery
Validate
A simple jQuery plugin to validate forms.
Stars: ✭ 298 (+204.08%)
Mutual labels:  form, jquery
Push State
Turn static web sites into dynamic web apps.
Stars: ✭ 16 (-83.67%)
Mutual labels:  ajax, jquery
Form2js
Javascript library for collecting form data
Stars: ✭ 630 (+542.86%)
Mutual labels:  form, jquery
Spring Web Rss Channels
A Full Stack RSS Reader web application built with Spring MVC and JSP. It uses libraries like Spring, JPA, Bootstrap, Apache Tiles, JSP etc. There is also a static code analysis tool called Checkstyle.
Stars: ✭ 40 (-59.18%)
Mutual labels:  ajax, jquery
Formeditor
A form builder editor for Umbraco 7 - let your editors build forms easily with this free package.
Stars: ✭ 95 (-3.06%)
Mutual labels:  mailchimp, form
Tabulator
Interactive Tables and Data Grids for JavaScript
Stars: ✭ 4,329 (+4317.35%)
Mutual labels:  ajax, jquery
Sms Ssm
🏫 🎓 一个基于 SSM 的简单学生管理系统 : 项目概述全面,代码注释详细,逻辑结构清晰,并提供待优化方案,非常具有参考与学习价值哟 !
Stars: ✭ 351 (+258.16%)
Mutual labels:  ajax, jquery
Waitme
jquery plugin for easy creating loading css3/images animations
Stars: ✭ 302 (+208.16%)
Mutual labels:  form, jquery
Springboot Beginner
🔰 📝 这可能是流程最清晰、代码最干净、注释最详细的 SpringBoot 入门项目咯,对于初学 SpringBoot 的同学非常具有参考与学习价值哟 ~
Stars: ✭ 51 (-47.96%)
Mutual labels:  ajax, jquery
Jquery Feyenoord
Asynchronous JS requests for Feyenoord supporters.
Stars: ✭ 52 (-46.94%)
Mutual labels:  ajax, jquery
Jeeplatform
一款企业信息化开发基础平台,拟集成OA(办公自动化)、CMS(内容管理系统)等企业系统的通用业务功能 JeePlatform项目是一款以SpringBoot为核心框架,集ORM框架Mybatis,Web层框架SpringMVC和多种开源组件框架而成的一款通用基础平台,代码已经捐赠给开源中国社区
Stars: ✭ 1,285 (+1211.22%)
Mutual labels:  ajax, jquery
Reqwest
browser asynchronous http requests
Stars: ✭ 2,918 (+2877.55%)
Mutual labels:  ajax, jquery
Ajaxfileupload
A jQuery plugin that simulates asynchronous file uploads.
Stars: ✭ 291 (+196.94%)
Mutual labels:  ajax, jquery
Uploader
A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
Stars: ✭ 1,042 (+963.27%)
Mutual labels:  ajax, jquery

jQuery FormChimp

A customizable MailChimp ajax plugin for jQuery, provides an easy and lightweight way to let your users sign up to your MailChimp list.

Features

  • Customizable Error and Success messages.
  • Ability to specify which element the output should be appended to, if it exists or where the element should be created
  • Automatically transforms the mailchimp signup url in the JSONP format
  • Changes the value of the button if the response is successful
  • This solution is language agnostic, only dependency is jQuery.
  • is AJAX-enabled, but degrades gracefully if Javascript isn't turned on
  • Multiple sign-up forms, for multiple lists.

Install

Choose one of the following methods:

Download source files

Git clone

git clone https://github.com/fabioquarantini/formchimp.git

Bower

bower install formchimp

Usage

  1. Create a form with the required attributes ( form action and input with name attribute. Where do i find them? )

    <form action="ADD MAILCHIMP URL">
    
    	<label for="email">Email*:</label>
    	<!-- Replace MERGE0 ( default for email ) with yours *|MERGE|* tags attribute -->
    	<input id="email" name="MERGE0" type="email" value="" />
    
    	<!-- Add any fields you want -->
    
    	<button type="submit" value="Subscribe">Subscribe</button>
    
    </form>
    
  2. Include jQuery:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
    
  3. Include plugin's code:

    <script src="jquery.formchimp.js"></script>
    
  4. Call the plugin:

    $(".form-selector").formchimp();
    

Settings

FormChimp accepts settings from an object of key/value pairs.

Example:
$(".form-selector").formchimp({
	key: value,
	key: value
});

List of settings

appendElement:

Selector: Declare where the new element, containing the messages from Mailchimp will be appended to.

Default: $(this)

buttonSelector:

String: Set the button selector.

Default: $form.find('[type="submit"]')

buttonText:

String: The message to be written on the submit button after a successful subscription.

Default: ''

debug:

Boolean: Activate debug message in console.

Default: false

errorMessage:

String: Set custom error message given when return an error.

Default: ''

onMailChimpSuccess:

Function: Callback that fires on MailChimp success.

Default: function() {}

onMailChimpError:

Function: Callback that fires on MailChimp error.

Default: function() {}

responseClass:

Selector: Declare custom element in page for message output. (Set different classes for multiple sign-up forms)

Default: mc-response

successMessage:

String: Set a custom success message.

Default: ''

url:

String: The mailchip list subscription url, to get the JSONP address just change post to post-json and append &c=? at the end.

Default: form action attribute

Event Hooks

These event hooks fire at the same time as their corresponding callbacks (ie. onMailChimpSuccess & onMailChimpSuccess)

mailChimpSuccess : This event is triggered on Mailchip success

mailChimpError : This event is triggered on Mailchip errors

Example:
$( document ).on( 'mailChimpSuccess', function() {
	// Your code here
});

License

MIT License © Fabio Quarantini

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].