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 Validator Plugins are used to extend ways to validate form data.

Abstract Classes

org.joget.apps.form.model.FormValidator

Code Block

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

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

public String getDescription();

public String getVersion();

public String getLabel();

public String getClassName();

public String getPropertyOptions();

public boolean validate(Element element, FormData data, String[] values);

// 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 Element getElement();

public String getElementDecoration(); //For overriding

Sample Plugin

Coming soon.

Related Community Plugins

  • Default Validator
  • Duplicate Value Validator