Table of Contents |
---|
Usages
Thai |
---|
ตามธรรมเนียม |
Used to extend ways to validate submitted data of an element.
Thai ใช้เพื่อขยายวิธีในการตรวจสอบความถูกต้องของข้อมูลที่ส่งขององค์ประกอบ
English A useable Form Validator plugin must extends either org.joget.apps.form.model.FormValidator or org.joget.apps.form.model.FormMultiRowValidator abstract class. Thai ปลั๊กอินเครื่องมือตรวจสอบความถูกต้องของฟอร์มที่ใช้งานได้จะต้องขยาย org.joget.apps.form.model.FormValidator หรือ org.joget.apps.form.model.FormMultiRowValidator อย่างใดอย่างหนึ่ง
Abstract Class
Thai |
---|
ชั้นนามธรรม |
org.joget.apps.form.model.FormValidator
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Thai ขยาย org.joget.plugin.base.ExtDefaultPlugin โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
Thai ดำเนินการ org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
Base class for implementations to validate values for an element.
Thai คลาสพื้นฐานสำหรับการนำไปใช้งานเพื่อตรวจสอบความถูกต้องขององค์ประกอบ
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Abstract Methods
Thai |
---|
วิธีการเชิงนามธรรม |
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.
Thai |
---|
ตรวจสอบค่าที่ส่งมาสำหรับองค์ประกอบ |
Overridable Methods
Thai |
---|
วิธีการ overridable |
getElementDecoration
public java.lang.String getElementDecoration()
Return the HTML decoration for the attached element, e.g. marking a required field.
Thai |
---|
ส่งคืนการตกแต่ง 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.
Thai |
---|
ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ |
Utility Methods
Thai |
---|
วิธีการยูทิลิตี้ |
getElement
public org.joget.apps.form.model.Element getElement()
Gets Element that this validator is tied to.
Thai |
---|
รับองค์ประกอบที่โยงกับตัวตรวจสอบนี้เชื่อม |
setElement
public void setElement(org.joget.apps.form.model.Element element)
Sets Element that this validator is tied to.
Thai |
---|
ตั้งค่าองค์ประกอบที่เชื่อมโยงกับตัวตรวจสอบนี้ |
org.joget.apps.form.model.FormMultiRowValidator
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Thai ขยาย org.joget.plugin.base.ExtDefaultPlugin โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
Thai mplemented org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
Base class for implementations to validate multi row data for an element e.g. Grid.
Thai คลาสพื้นฐานสำหรับการนำไปใช้งานเพื่อตรวจสอบข้อมูลหลายแถวสำหรับองค์ประกอบเช่น Grid
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Abstract Methods
Thai |
---|
วิธีการเชิงนามธรรม |
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.
Thai |
---|
ตรวจสอบแถวที่ส่งสำหรับองค์ประกอบ |
Overridable Methods
getElementDecoration
...
Return the HTML decoration for the attached element, e.g. marking a required field.
Thai |
---|
ส่งคืนการตกแต่ง 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.
Thai |
---|
ส่งคืนการตกแต่ง HTML สำหรับองค์ประกอบที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ |
Utility Methods
Thai |
---|
วิธีการยูทิลิตี้ |
getElement
public org.joget.apps.form.model.Element getElement()
Gets Element that this validator is tied to.
Thai |
---|
รับองค์ประกอบที่เชื่อมโยงกับตัวตรวจสอบนี้ |
setElement
public void setElement(org.joget.apps.form.model.Element element)
Sets Element that this validator is tied to.
Thai |
---|
ตั้งค่าองค์ประกอบที่ตัวตรวจสอบนี้ |
Plugin Properties Options
Thai |
---|
ตัวเลือกคุณสมบัติปลั๊กอิน |
Please refer to Plugin Properties Options for more information.
Thai โปรดดู Plugin Properties Options สำหรับข้อมูลเพิ่มเติม
Tutorials
Thai |
---|
สอน |
Related Community Plugins
Thai |
---|
ปลั๊กอินที่เกี่ยวข้อง |
- 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)