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
วิธีการ overridable
getElementDecoration

public java.lang.String getElementDecoration()

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

ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ

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.

ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ

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.

ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ

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.

ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ

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

ปลั๊กอินที่เกี่ยวข้อง