Joget DX Preview Release Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents

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

Code Block
// 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

Code Block
// 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