JQuery Form Builder Plugin - JQuery WYSIWYG Web Form Builder

  • Authors : Lim Chee Kin
0 vote
Dependency :
compile ":jquery-form-builder:0.1"

Documentation

Summary

Description

Overview

Simply supplies jQuery Form Builder plugin resources, and depends on the jQuery plugin and jQuery UI plugin to include the supporting libraries.

Use this plugin in your own apps and plugins to avoid resource duplication and conflicts.

Conventions

The version number of this plugin must always follow the version number of the jQuery Form Builder plugin version it bundled.

E.g. the first release of this plugin is 0.1 - because it ships jQuery Form Builder plugin 0.1. If jQuery Form Builder plugin upgrades to 0.2 or similar, this plugin would need to be upgraded to use it and use the version number 0.2.

The key part is that any apps/plugins can install or dependsOn "jqueryFormBuilder" of a given version e.g. 0.1 to pull in that version of jQuery Form Builder plugin.

This plugin must dependsOn minimum jQuery 1.4.2 and jQuery UI 1.8.6 which is a separate grails plugin that also matches this versioning convention.

Tags

There is one tag - <jqfb:resources/> - which pulls in the resources needed. The tag supports the following attributes:

Type of resources

type = js|css

Optional. If this attribute is unspecified, it will pull in all JavaScript and CSS resources.

Configuration

Minified version of JavaScript and CSS file

You can choose if the minified version of the .js and .css should be used (or not) by adding the following config parameter to your project's Config.groovy:

jqueryFormBuilder.minified = true|false

default: serve minified

Find Out More