...
- Plugin Properties Options allow a plugin to gather configuration data from a plugin user. - Thai - ตัวเลือกคุณสมบัติปลั๊กอินอนุญาตให้ปลั๊กอินรวบรวมข้อมูลการกำหนดค่าจากผู้ใช้ปลั๊กอิน 
- English - Plugin Properties Options should be returned in the abstract method "getPropertyOptions" of each plugin. - Thai - ตัวเลือกคุณสมบัติปลั๊กอินควรส่งคืนในเมธอด abstract "getPropertyOptions" ของแต่ละปลั๊กอิน 
...
Sample Look and Feel
| Thai | 
|---|
| ตัวอย่างรูปลักษณ์ | 
Field Types
...
Auto Complete
| Thai | 
|---|
| ดำเนินการอัตโนมัติ | 
- type : 'autocomplete' - Thai - ประเภท: 'เติมข้อความอัตโนมัติ' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
Check Box
| Thai | 
|---|
| ช่องทำเครื่องหมาย | 
- type : 'CheckBox' - Thai - ประเภท: 'ช่องทำเครื่องหมาย' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Multi Values Field on how to use the value of this field type in the plugin code. - Thai - อ้างถึง Retrieve Properties Value in Plugin - Multi Values Field เกี่ยวกับวิธีใช้ค่าของฟิลด์ชนิดนี้ในรหัสปลั๊กอิน 
Code Editor
| Thai | 
|---|
| เครื่องมือแก้ไขรหัส | 
- type : 'CodeEditor' - Thai - ประเภท: 'CodeEditor' 
- mode : Optional, used for specified highlight mode. Default to 'text', available values are 'text', 'java', 'html', 'javascript', 'css', 'json', 'sql' and 'xml'. - Thai - โหมด: ตัวเลือกใช้สำหรับโหมดไฮไลต์ที่ระบุ ค่าเริ่มต้นของ 'text', available values are 'text', 'java', 'html', 'javascript', 'css', 'json', 'sql' and 'xml' 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Color
| Thai | 
|---|
| สี | 
- type : 'color' - Thai - ประเภท: 'สี' 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
Combine Grid
| Thai | 
|---|
| รวมกริด | 
- Combine Grid is used to migrate 2 or more single value property fields from old version plugin (etc Text Field & Select Box) to multi values field in Grid View. - Thai - การรวมกริดใช้สำหรับโอนย้ายฟิลด์คุณสมบัติค่าอย่างน้อย 2 ฟิลด์ขึ้นไปจากปลั๊กอินเวอร์ชันเก่า (ฯลฯ Text Field & Select Box) ไปยังฟิลด์ค่าหลายค่าในมุมมองกริด 
- Combine Grid does not support 'value' attribute. - Thai - การรวมกริดไม่สนับสนุนแอตทริบิวต์ 'value' 
- type : 'GridCombine' - Thai - ประเภท: 'GridCombine' 
- columns : A JSON array of 'column' JSON objects which has 2 mandatory 'key' & 'label' attributes and 2 optional 'required' & 'options' attribute. - Thai - คอลัมน์: อาร์เรย์ JSON ของวัตถุ 'คอลัมน์' JSON ซึ่งมีแอตทริบิวต์บังคับ 2 รายการคือ 'key' & 'label' และแอตทริบิวต์ 2 ตัวเลือก'required' & 'options' - key : Identifier of this column. This value need to be same with the field 'name' that need to migrate from single value field to multiple value field. - Thai - สำคัญ: ตัวระบุของคอลัมน์นี้ ค่านี้ต้องเหมือนกันกับฟิลด์ 'name' ที่ต้องย้ายจากฟิลด์ค่าเดียวไปยังหลายค่า 
- label : Label of the column header - Thai - label: เลเบลของส่วนหัวคอลัมน์ 
- options : Optional, an array of JSON object with 'value' and 'label' attributes. A column with 'options' attribute will display the input field as select box. - Thai - ตัวเลือก: ตัวเลือกอาร์เรย์ของวัตถุ JSON ที่มีแอตทริบิวต์ 'value' และ 'label' คอลัมน์ที่มีแอตทริบิวต์ 'options' จะแสดงช่องป้อนข้อมูลเป็นกล่องที่เลือก 
- required : Optional, 'true' or 'false'. A grid cell with the 'required' attribute of 'row' and 'column' set to 'true' value is a mandatory field. - Thai - ต้องการ: ไม่บังคับ, 'true' หรือ 'false' เซลล์กริดที่มีแอตทริบิวต์ 'required' ของ 'row' และ 'column' ตั้งค่าเป็น 'true' เป็นฟิลด์บังคับ 
 - Code Block - language - js - columns : [ {key : 'key', label : 'Columns'}, {key : 'value', label : 'Value', required: 'true'}, {key : 'label', label : 'Label', required: 'true'}, {key : 'width', label : 'Width', options:[ {value : '10%', label : '10%'}, {value : '20%', label : '20%'}, {value : '30%', label : '20%'}, {value : '40%', label : '20%'} ]} ]
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Combine Grid Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Combine Grid Field เกี่ยวกับวิธีใช้ค่าของฟิลด์ชนิดนี้ในโค้ดปลั๊กอิน 
...
| Panel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 
 | ||||||||||
| This is a new feature in Joget DX. 
 | 
- type : 'custom' - Thai - ประเภท: 'กำหนดเอง' 
- script_url : A URL which will return script of the selected element. Built-in URL is "[CONTEXT_PATH]/web/property/json[APP_PATH]/[CLASS_PATH]" which will return the script of a plugin. - Thai - script_url: URL ที่จะส่งคืนสคริปต์ขององค์ประกอบที่เลือก URL ในตัวคือ "[CONTEXT_PATH] / เว็บ / property / json [APP_PATH] / [CLASS_PATH]" ซึ่งจะส่งคืนสคริปต์ของปลั๊กอิน 
Element Select Box
| Thai | 
|---|
| องค์ประกอบเลือกกล่อง | 
- type : 'ElementSelect' - Thai - ประเภท: 'ElementSelect' 
- url : A URL which will return Properties Options JSON object of the selected element. Built-in URL is "[CONTEXT_PATH]/web/property/json[APP_PATH]/getPropertyOptions" which will return the Properties Options JSON object of a plugin. - Thai - url: URL ที่จะส่งคืนออบเจกต์ JSON ของตัวเลือกคุณสมบัติขององค์ประกอบที่เลือก URL ในตัวคือ "[CONTEXT_PATH] / web / property / json [APP_PATH] / getPropertyOptions" ซึ่งจะส่งคืนออบเจ็กต์ตัวเลือกคุณสมบัติ JSON ของปลั๊กอิน 
- keep_value_on_change : Optional, 'true' or 'false'. Used to decide whether to keep the configuration of the properties options of previous selected element when a new element is selected. - Thai - keep_value_on_change: ไม่บังคับ, 'true' หรือ 'false' ใช้เพื่อตัดสินใจว่าจะเก็บคอนฟิกูเรชันของตัวเลือกคุณสมบัติขององค์ประกอบที่เลือกไว้ก่อนหน้านี้หรือไม่เมื่อเลือกองค์ประกอบใหม่ 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Usually used for select a plugin and configure the properties of the selected plugin. - Thai - มักจะใช้สำหรับเลือกปลั๊กอินและกำหนดค่าคุณสมบัติของปลั๊กอินที่เลือก 
- Refer to Retrieve Properties Value in Plugin - ElementSelectBox on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - ElementSelectBox เกี่ยวกับวิธีการใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
File
| Thai | 
|---|
| ไฟล์ | 
- type : 'file', 
- appPath : '[APP_PATH]', 
- allowInput : Optional, 'true' or 'false'. Set to 'true' to allow custom link. 
- isPublic : Optional, 'true' or 'false'. Set to 'true' to auto set the permission to access by anonymous. 
- allowType : Optional, a string of file extension seperated (;). Example: ".jpeg;.jpg;.gif;.png". 
- maxSize : Optional, integer value in string format. In kB. 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Fixed Row Grid
| Thai | 
|---|
| แก้ไขกริดแถว | 
- type : 'GridFixedRow' 
- columns : A JSON array of 'column' JSON objects which has 2 mandatory 'key' & 'label' attributes and 2 optional 'required' & 'options' attribute. - key : Identifier of this column. 
- label : Label of the column header 
- options : Optional, an array of JSON object with 'value' and 'label' attributes. A column with 'options' attribute will display the input field as select box. 
- required : Optional, 'true' or 'false'. A grid cell with the 'required' attribute of 'row' and 'column' set to 'true' value is a mandatory field. 
 
- rows : A JSON array of 'row' JSON Object with 'label' attribute and an optional 'required' attribute. A grid cell with the 'required' attribute of 'row' and 'column' set to 'true' value is a mandatory field. - label : Label of a row. Used to populate in the first column or every row. 
- required : Optional, 'true' or 'false'. A grid cell with the 'required' attribute of 'row' and 'column' set to 'true' value is a mandatory field. 
 
- value : A JSON array of grid row values in JSON Object format with all the 'key' attribute of 'column' object used as attribute. 
...
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Grid Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Grid Field เกี่ยวกับวิธีใช้ค่าของฟิลด์ชนิดนี้ในรหัสปลั๊กอิน 
Grid
| Thai | 
|---|
| กริด | 
- type : 'Grid' 
- columns : A JSON array of 'column' JSON objects which has 2 mandatory 'key' & 'label' attributes and 2 optional 'required' & 'options' attribute. - key : Identifier of this column. 
- label : Label of the column header 
- options : Optional, an array of JSON object with 'value' and 'label' attributes. A column with 'options' attribute will display the input field as select box. 
- required : Optional, 'true' or 'false'. A grid cell with the 'required' attribute of 'row' and 'column' set to 'true' value is a mandatory field. 
 
- value : A JSON array of grid row values in JSON Object format with all the 'key' attribute of 'column' object used as attribute. - Code Block - language - js - columns : [ {key : 'value', label : 'Value', required: 'true'}, {key : 'label', label : 'Label', required: 'true'}, {key : 'width', label : 'Width', options:[ {value : '10%', label : '10%'}, {value : '20%', label : '20%'}, {value : '30%', label : '20%'}, {value : '40%', label : '20%'} ]} ], value : [ {label : 'Username', value : 'username'}, {label : 'Status', value : 'status'}, {label : 'Message', value : 'message', width : '20%'}, {label : 'Date', value : 'dateCreated'} ]
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Grid Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Grid Field เกี่ยวกับวิธีใช้ค่าของฟิลด์ชนิดนี้ในรหัสปลั๊กอิน 
Header
| Thai | 
|---|
| หัวข้อ | 
- type : 'Header' 
- Header does not support 'value' and 'required' attributes. 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- This field type is used for separate the fields into different groups. It is not use for capture data. - Thai - ประเภทฟิลด์นี้ใช้สำหรับแยกฟิลด์ออกเป็นกลุ่มต่าง ๆ มันไม่ได้ใช้สำหรับการจับข้อมูล 
...
HTML Editor
| Thai | 
|---|
| ตัวแก้ไข HTML | 
- type : 'HtmlEditor' 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Image
| Thai | 
|---|
| ภาพ | 
- type : 'file', 
- appPath : '[APP_PATH]', 
- allowInput : Optional, 'true' or 'false'. Set to 'true' to allow custom link. 
- isPublic : Optional, 'true' or 'false'. Set to 'true' to auto set the permission to access by anonymous. 
- allowType : Optional, a string of file extension seperated (;). Example: ".jpeg;.jpg;.gif;.png". 
- maxSize : Optional, integer value in string format. In kB. 
- imageSize : Optional, can be integer value in string format or a css expression. Example: '50' or "width:100px;height:70px;". 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Label
| Thai | 
|---|
| ป้าย | 
- type : 'Label' 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Multi Select Box
| Thai | 
|---|
| กล่องเลือกหลายตัว | 
- type : 'MultiSelect' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Multi Values Field on how to use the value of this field type in the plugin code. - Thai - อ้างถึง Retrieve Properties Value in Plugin - Multi Values Field เกี่ยวกับวิธีใช้ค่าของฟิลด์ชนิดนี้ในรหัสปลั๊กอิน 
Password Field
| Thai | 
|---|
| ฟิลด์รหัสผ่าน | 
- type : 'Password' 
- size : Optional, integer value in string format. Default to '50'. Used to control the length of the input field. 
- maxlength : Optional, integer value in string format. Used to limit the number of characters can be enter in the input field. 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Radio Button
| Thai | 
|---|
| ปุ่มตัวเลือก | 
- type : 'Radio' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
...
| Thai | 
|---|
| ช่องข้อความแบบอ่านอย่างเดียว | 
- type : 'Readonly' 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
...
| Panel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 
 | ||||||||||
| This is a new feature in Joget DX. 
 | 
- type : 'elementmultiselect' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
...
| Panel | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 
 | ||||||||||
| This is a new feature in Joget DX. 
 | 
- type : 'elementmultiselect' 
Select Box
| Thai | 
|---|
| เลือกกล่อง | 
- type : 'SelectBox' 
- Refer to Option Field Attributes for extra attributes. - Thai - อ้างถึง Option Field Attributes สำหรับแอตทริบิวต์เพิ่มเติม 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Text Area
| Thai | 
|---|
| พื้นที่ข้อความ | 
- type : 'TextArea' 
- rows : Optional, integer value in string format. Default to '5'. Used to control the height of the input field. 
- cols : Optional, integer value in string format. Default to '50'. Used to control the length of the input field. 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
Text Field
| Thai | 
|---|
| ช่องข้อความ | 
- type : 'TextField' 
- size : Optional, integer value in string format. Default to '50'. Used to control the length of the input field. 
- maxlength : Optional, integer value in string format. Used to limit the number of characters can be enter in the input field. 
- Refer to Regular Express (Regex) Validation Attributes for extra attributes to do validation using regex. - Thai - อ้างถึง Regular Express (Regex) Validation Attributes สำหรับแอตทริบิวต์เพิ่มเติมเพื่อทำการตรวจสอบความถูกต้องโดยใช้ regex 
- Refer to Dependency Field Attributes for extra attributes to do show/hide this field based on other field value. - Thai - อ้างถึง Dependency Field Attributes สำหรับแอททริบิวพิเศษที่ต้องแสดง / ซ่อนฟิลด์นี้ตามค่าฟิลด์อื่น 
- Refer to Retrieve Properties Value in Plugin - Single Value Field on how to use the value of this field type in the plugin code. - Thai - อ้างอิงถึง Retrieve Properties Value in Plugin - Single Value Field เกี่ยวกับวิธีใช้ค่าของฟิลด์นี้พิมพ์ในรหัสปลั๊กอิน 
...
- The following attributes are available for all field types. - Thai - แอททริบิวต่อไปนี้ใช้ได้กับฟิลด์ทุกประเภท 
- These attributes are used to show/hide a field based on the value of another field. - Thai - แอ็ตทริบิวต์เหล่านี้ใช้เพื่อแสดง / ซ่อนฟิลด์ตามค่าของฟิลด์อื่น 
- The value of a field hidden by these attributes will be ignore during save. - Thai - ค่าของฟิลด์ที่ถูกซ่อนโดยแอตทริบิวต์เหล่านี้จะถูกละเว้นในระหว่างการบันทึก 
- control_field : Optional, 'name' of another field used to control the show/hide of current field. 
- control_value : Optional, value or regular expression (regex) in string format. This value need to match the value of the controlling field in order to make the field visible. 
- control_use_regex : Optional, 'true' or 'false'. Default to 'false'. Set to 'true' to use regular expression (regex) in matching the value. 
| Code Block | ||
|---|---|---|
| 
 | ||
| {
    control_field: 'chartType',
    control_value: 'bar|xy|area|bubble|line|candlestick|ohlc',
    control_use_regex: 'true',
} | 
...
- Call to a URL for validation. - Thai - เรียกไปที่ URL เพื่อตรวจสอบความถูกต้อง 
- type : 'AJAX' 
- url : An URL return a JSON Object with status (success or fail) & message (JSONArray of String) attribute 
- default_error_message : Optional. A string of error message. 
Page Button
| Thai | 
|---|
| ปุ่มหน้า | 
- Page button can be added on the bottom of each page to provide extra feature. Such as send an test email to test the email configuration or make a test connection to database. - Thai - สามารถเพิ่มปุ่มหน้าได้ที่ด้านล่างของแต่ละหน้าเพื่อให้มีคุณสมบัติพิเศษ เช่นส่งอีเมลทดสอบเพื่อทดสอบการกำหนดค่าอีเมลหรือทำการเชื่อมต่อทดสอบกับฐานข้อมูล 
- Page button will collect the required fields data from the page and popup dialog and call an AJAX URL. - Thai - ปุ่มหน้าจะรวบรวมข้อมูลฟิลด์ที่ต้องการจากหน้าและกล่องโต้ตอบป๊อปอัพและเรียก AJAX URL 
- name : Identifier of this button. 
- label : Label of the button. 
- ajax_url : A URL to execute the button action. The URL should return a JSON Object with message (String) attribute. 
- fields : An array of fields name in the same page that will be used by this button. 
- addition_fields : An array of Property Field JSON object that will be shown in a popup dialog to collect extra data. 
- Example: - Thai - ตัวอย่าง: - Code Block - language - js - buttons : [{ name : 'testmail', label : 'Send Test Email', ajax_url : '[CONTEXT_PATH]/web/json/app[APP_PATH]/plugin/org.joget.apps.app.lib.EmailTool/service?action=testmail', fields : ['host', 'port', 'security', 'username', 'password'], addition_fields : [ { name : 'from', label : 'From', type : 'textfield', required : 'True' }, { name : 'toSpecific', label : 'To', type : 'textfield', required : 'True' } ] }]
...

























