Table of Contents |
---|
Usages
Thai |
---|
ตามธรรมเนียม |
English Extend types of fields available in Form Builder. Thai ขยายประเภทของเขตข้อมูลที่มีอยู่ในเครื่องมือสร้างแบบฟอร์ม
A useable Form Field Element plugin must extends org.joget.apps.form.model.Element abstract class and implements org.joget.apps.form.model.FormBuilderPaletteElement interface.
Thai ปลั๊กอินองค์ประกอบของเขตข้อมูลฟอร์มที่ใช้งานได้จะต้องขยายคลาสนามธรรม org.joget.apps.form.model.Element และดำเนินการ org.joget.apps.form.model.FormBuilderPaletteElement
...
dataModel - Model containing values to be displayed in the template.
Thai เทมเพลต HTML สำหรับ UI ส่วนหน้า
พารามิเตอร์:
dataModel - โมเดลที่มีค่าที่จะแสดงในเทมเพลต
Overridable Methods
Thai |
---|
วิธีการ overridable |
...
If this property appear in the Properties Options JSON, admin user is set to store this field value to a workflow variable.
Thai หากคุณสมบัตินี้ปรากฏในตัวเลือกคุณสมบัติ JSON ผู้ใช้ที่เป็นผู้ดูแลระบบจะถูกตั้งค่าให้เก็บค่าฟิลด์นี้เป็นตัวแปรเวิร์กโฟลว์
The value of this field will auto set to the mentioned workflow variable if the Form Store Binder is set to Workflow Form BinderDefault.
Thai ค่าของฟิลด์นี้จะตั้งค่าโดยอัตโนมัติเป็นตัวแปรเวิร์กโฟลว์ที่กล่าวถึงหาก Form Store Binder ถูกตั้งค่าเป็น Workflow Form BinderDefault
Code Block |
---|
{ name : 'workflowVariable', label : '@@form.checkbox.workflowVariable@@', type : 'textfield' } |
...
Following is a sample Form Field Template of a Text Field element. It is constructed using FreeMaker FreeMarker syntax. This template will be used and returned by renderTemplate method.
...