You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Description

Form Element Plugins to extend types of fields available in
Form Builder
Form Element Plugins to extend types of fields available in Form Builder

Abstract Classes

org.joget.apps.form.model.Element

// Variables
private Map<String, Object> properties;

// Abstract and Interface Methods
public String getName();

public String getDescription();

public String getVersion();

public String getLabel();

public String getClassName();

public String getPropertyOptions();

public String renderTemplate(FormData formData, Map dataModel);

// Available Methods
public Map<String, Object> getProperties();

public void setProperties(Map<String, Object> properties);

public Object getProperty(String property);

public String getPropertyString(String property);

public void setProperty(String property, Object value);

public FormLoadBinder getLoadBinder();

public void setLoadBinder(FormLoadBinder loadBinder);

public FormLoadBinder getOptionsBinder();

public void setOptionsBinder(FormLoadBinder optionsBinder);

public FormStoreBinder getStoreBinder();

public void setStoreBinder(FormStoreBinder storeBinder);

public FormValidator getValidator();

public void setValidator(FormValidator validator);

public Collection<Element> getChildren();

public void setChildren(Collection<Element> children);

public Element getParent();

public void setParent(Element parent);

public String getCustomParameterName();

public String getPrimaryKeyValue(FormData formData);

public Boolean hasError(FormData formData);

// Available Methods for overridepublic FormData formatDataForValidation(FormData formData);
public Boolean selfValidate(FormData formData);

public FormRowSet formatData(FormData formData);

public boolean continueValidation(FormData formData);

public Collection<String> getDynamicFieldNames();

public Boolean isAuthorize(FormData formData);

Interface Classes

org.joget.apps.form.model.FormBuilderPaletteElement

- To list the Form Element plugin in Form Builder

// Interface Methods
public String getFormBuilderCategory();

public int getFormBuilderPosition();

public String getFormBuilderIcon();

Sample Plugin

Related Community Plugins

  • Check Box
  • Custom HTML
  • Date Picker
  • File Upload
  • Grid
  • Hidden Field
  • Id Generator Field
  • Password Field
  • Radio
  • Select Box
  • Sub Form
  • Text Area
  • Text Field
  • No labels