Form Management Technical Doc (Jquery Plugin) : Initiating The Form Using Aspects
Form Management Technical Doc (Jquery Plugin) : Initiating The Form Using Aspects
Webscript Service
In your get.js file call the FM service to get the aspect objects you want, then, expose them to the
client side via the model.
$('.formContainerStage').form({
'aspects': aspectObj
});
There are many different ways the FM Form can be initiated and used. Take a look at the webscripts
in the form builder and previewer. I have made the FM Module really flexible so you should be able
to do what you need.
If there is something you would like to see in this Module, let me know!
Options
'customProperites' : {
'title': "My Custom Title",
'description': "Example description
custom."
}
Events
Parameter Default Purpose Version Released
onComplete Null When the form has been 1.0.1
drawn, the onComplete
function passed to the
plugin will be executed.
onSaveComplete Null When the form data has 1.0.1
been saved, the
onSaveComplete function
passed to the plugin will
be executed
onLoadComplete Null When the form data has 1.0.4
been loaded into its
respective fields, the
onLoadComplete function
passed to the plugin will
be executed
Methods
Function Parameters Purpose Version Released
Init(options) Options: (see Initiates the plugin and 1.0.1
initialization draws a form based on the
parameters above) given aspect(s), or profile
callback<function>:
Local Callback for the
individual call. Init save
callback can be used as
a global call for all save
functions