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

Compare with Current View Page History

Version 1 Next »

Usages

Abstract Class

org.joget.apps.form.model.FormValidator

Method Detail

Abstract Methods


validate
public abstract boolean validate(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData data, java.lang.String[] values)

Validate the submitted values for an element.

Overridable Methods

getElementDecoration

public java.lang.String getElementDecoration()

Return the HTML decoration for the attached element, e.g. marking a required field.

getElementDecoration
public java.lang.String getElementDecoration(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)

Return the HTML decoration for the attached element, e.g. marking a required field.

Utility Methods

getElement
public org.joget.apps.form.model.Element getElement()

Gets Element that this validator is tied to.

setElement
public void setElement(org.joget.apps.form.model.Element element)

Sets Element that this validator is tied to.

org.joget.apps.form.model.FormMultiRowValidator

Method Detail

Abstract Methods

validate
public abstract boolean validate(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData data, org.joget.apps.form.model.FormRowSet rows)

Validate the submitted rows for an element.

Overridable Methods
getElementDecoration

public java.lang.String getElementDecoration()

Return the HTML decoration for the attached element, e.g. marking a required field.

getElementDecoration
public java.lang.String getElementDecoration(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)

Return the HTML decoration for the attached element, e.g. marking a required field.

Utility Methods

getElement
public org.joget.apps.form.model.Element getElement()

Gets Element that this validator is tied to.

setElement
public void setElement(org.joget.apps.form.model.Element element)

Sets Element that this validator is tied to.

Plugin Properties Options

Tutorials

Related Community Plugins

  • Bean Shell Validator
    org.joget.apps.form.lib.BeanShellValidator (wflow-core)
  • Bean Shell Multirow Validator
    org.joget.apps.form.lib.BeanShellMultiRowValidator (wflow-core)
  • Default Validator
    org.joget.apps.form.lib.DefaultValidator (wflow-core)
  • Duplicate Value Validator
    org.joget.apps.form.lib.DuplicateValueValidator (wflow-core)
  • No labels