Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

Time Picker is a standard text field with add-on script that enables it to collect time-format input. เป็นฟิลด์ข้อความแบบมาตรฐานพร้อมด้วยสคริปต์เสริมที่ช่วยให้สามารถรวบรวมอินพุตรูปแบบเวลา


Figure ภาพที่ 1: Time Picker in Form Builderตัวเลือกเวลาในเครื่องมือสร้างแบบฟอร์ม

Figure 2: Time Picker in actual form ตัวเลือกเวลาในรูปแบบจริง

Figure ภาพที่ 3: Time Picker Propertiesคุณสมบัติตัวเลือกเวลา

NameDescription
IDElement ID (By declaring as รหัส (เมื่อประกาศ ID ชื่อ "start_time" , a corresponding database table column แล้ว จะมีการสร้างคอลัมน์ตารางในฐานข้อมูลว่า "c_start_time" will be created)
LabelElement Label to be displayed to end userชื่อที่จะแสดงให้ผู้ใช้เห็น.

Figure 4: Time Picker Properties - Advanced Options คุณสมบัติตัวเลือกเวลา - ตัวเลือกขั้นสูง

NameDescription
Default Value

Default Value when there's no existing value found.

ดีฟอลต์ค่าเริ่มต้นเมื่อไม่มีค่าใดๆ

คุณอาจใช้ตัวแปร Hash variable 
Hash variable is accepted here.
24 Hours Formatรูปแบบ 24 Hours Formatชั่วโมง
Validator

Attach a Validator plugin to validate the input value.แนบปลั๊กอิน Validator เพื่อตรวจสอบความถูกต้องของค่าที่ป้อนเข้ามา

Info
titleWhen will validation takes place?

Validation will takes place whenever form is submitted except when it is submitted as การตรวจสอบจะเกิดขึ้นทุกครั้งที่มีการบันทึกแบบฟอร์มยกเว้นเมื่อบันทึกเป็น "Save as Draft".

Readonly

Determines if the element is editable.กำหนดว่าข้อความสามารถแก้ไขได้หรือไม่

Display field as Label when readonly?

Displays the value of the element as plain text when element is set to สดงค่าของข้อความในรูปแบบข้อความล้วนๆไม่มีกล่องข้อความ เมื่อกล่องข้อความนั้นถูกตั้งค่าไว้ว่า "Readonly".

Workflow Variable

If the form is part of a workflow process, upon saving of the form (by clicking on ถ้าแบบฟอร์มเป็นส่วนหนึ่งของเวิร์กโฟลว์โพรเซส เมื่อบันทึกแบบฟอร์ม (โดยคลิกที่ปุ่ม "Save as Draft" or หรือ "Complete" button). The value in this input field will be saved into the corresponding workflow variable named here.) ค่าในฟิลด์อินพุตนี้จะถูกบันทึกลงในตัวแปรเวิร์กโฟลว์ที่ระบุไว้ที่นี่

Info
titleUsing a non-existent Workflow Variable name

You will get the following warning with the name printed out (e.g. status) in the server log if you attempt to map to a non-existent Workflow Variable.คุณจะได้รับคำเตือนต่อไปนี้โดยแสดงชื่อตัวแปรออกมา (เช่น status) ถ้าหากการบันทึกของเซิร์ฟเวอร์ไม่มีค่าที่พยายามแมปกับตัวแปรเวิร์กโฟลว์ได้

Code Block
context attribute status does not exist in process context - adding new attributes to the process context is not allowed