jQuery.formtag.js (v 0.5.0) Transform a form into mutliples button tag elements

Initial form



Generated form tags

Installation

1. Download the source using bower for example:
$ bower install jquery.formtag
2. Include the script in your html file:
<script src="jquery.formtag.js"></script>
3. Include the default style file (optional):
<link rel="stylesheet" href="jquery.formtag.css">

Options

$('form').formTag({
add_button_text: '+ Add Field',
tag_label: '~',
namespace: 'formTag-',
delete_tag_delay: 0,
add_tag_delay: 0,
value_to_text: true,
max_1_opened_dropdown: true,
close_on_click: true,
});
Fork me on GitHub
©2014 @jeremymarc