FormTemplate

FormTemplate

This class is for creating templates toolbar.

Constructor

new FormTemplate(form)

Parameters:
Name Type Description
form Object

object.

Methods

_getFormEl()

Returns form element from alpaca.

Returns:

Object

_initializeLoadFormTemplates()

Renders all the form templates fetched by calling ajax call

loadTemplate()

Loads the selected template data to create form. Template id is getting passed to ajax service. loads the data in to the create form .