Joget Workflow v6 Beta 3 Released

Check out the latest Joget Workflow v6 Beta for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

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