Creating Custom Settings

105 views
Skip to first unread message

Abishek Srikaanth

unread,
Apr 10, 2012, 1:55:54 PM4/10/12
to JQuery Form Builder Plugin
Hi,

First of all the plugin is awesome, on of the best that I have looked
at when it comes to form builder, with good documentation.
I am contacting you because I require a specific functionality that I
am looking for on the form builder.

Is there a way to introduce custom settings for a field on this
plugin. I would like to add more settings to the fields that I add to
the form builder.
For example: I would like to have a setting added to enable auto
complete for a textbox and then if it is enabled, provide the url for
querying to auto complete.

Similarly I would like to do for other fields as well. Would it be
possible to introduce custom settings to the fields of the plugin as
required?

Thanks and Regards
Abishek R Srikaanth

Chee Kin Lim

unread,
Apr 11, 2012, 1:24:01 AM4/11/12
to jquery-form-b...@googlegroups.com
Hi there,

Thanks for your interest to the plugin.

You can add custom settings to the following code block, it is JSON:
options: {
settings: {
..........
}
}
As the plugin designed in a way that support multilingual, there are two type of settings, general (apply to all languages) and language-specific. Please see the sample code at https://github.com/limcheekin/jquery-form-builder-plugin/blob/master/src/js/jquery.formbuilder.singlelinetext.js.

Also, please read http://code.google.com/p/jquery-form-builder-plugin/wiki/HowToCreateNewField for new field creation.

Hope this help. I know the documentation was not intuitive and readable enough, but it is what the project have at the moment.

Best regards,
Chee Kin
Reply all
Reply to author
Forward
0 new messages