Versions Compared

Key

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

Form Userview Element allows one to directly enter/view Form data without being part of a process flow. ช่วยในการป้อน/ดูข้อมูลแบบฟอร์มโดยตรงโดยไม่เป็นส่วนหนึ่งของโฟลว์ในกระบวนการ

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titlePerformance

คุณสามารถกำหนดค่าการตั้งค่าประสิทธิภาพใน Userview Element นี้เพื่อแคชเนื้อหาที่มีอยู่เพื่อปรับปรุงประสิทธิภาพและความเร็วในการโหลด

อ่านเพิ่มเติมที่ 

You can configure the Performance settings in this Userview Element to cache existing content for improved performance and loading speed.

Read more at Performance Improvement with Userview Caching.

Figure รูปที่ 1: Screenshot highlighting a Form in a Userviewภาพหน้าจอโดยเน้นที่ฟอร์มใน Uservieww



Figure รูปที่ 2: Form Properties

Name
ชื่อ
Description
คำอธิบาย
Custom ID

Item link slug.

Optional field.

 ฟิลด์ตัวเลือก

Info
titleUnique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

ตัวแปลที่กำหนดจะต้องไม่ซ้ำกันกับส่วนอื่นของ Userview เนื่องจากจะทำการเรียกใช้ซ้ำ

Label
ชื่อเมนู ฟิลด์บังคับ
Form
กำหนดเป้าหมายแบบฟอร์มเพื่อโหลด ฟิลด์บังคับ
Label
Menu label. Mandatory field.Form
Target form to load. Mandatory field.
Show in popup dialog?
If checked, user will be presented in a popup dialog.

ถ้ามีการเลือกผู้ใช้จะถูกนำเสนอในกล่องป๊อปอัป

Readonly?
All the fields in the target form will be rendered as read only when checked.

เขตข้อมูลทั้งหมดในฟอร์มเป้าหมายจะถูกแสดงเป็นแบบอ่านอย่างเดียวเมื่อทำการตรวจสอบ

Display field as Label when readonly?
Fields set to read only will be rendered as label/text instead of being bounded in its original input element.

...

ฟิลด์ที่ตั้งค่าเป็นแบบอ่านอย่างเดียวจะถูกแสดงเป็นป้ายชื่อ/ข้อความแทนที่จะถูกกำหนดขอบเขตในองค์ประกอบป้อนเข้าเดิม


Figure รูปที่ 3: Form Properties - Redirection

Name
ชื่อ
Description
คำอธิบาย
Message Shown After Form Submission
Message Shown After Form Submission.

ข้อความที่แสดงหลังจากการส่งแบบฟอร์ม

URL Redirect After Form Submission

เปลี่ยนเส้นทาง URL

Redirect After Form Submission.

หลังจากการส่งแบบฟอร์ม

URL Redirect on Cancellation


การเปลี่ยนเส้นทาง URL
Redirect on Cancellation.
เมื่อยกเลิก


Info
When this value is set, the Cancel button will appear at the bottom of the form.

เมื่อตั้งค่า ปุ่มยกเลิกจะปรากฏที่ด้านล่างของแบบฟอร์ม



Redirect Target on Cancellation
  • หน้าต่างด้านบน (Top Window)

  • หน้าต่างปัจจุบัน (Current Window)

Field Name For URL Redirect Value Passover
Field id from the preceding form to retrieve the value from.

ดึงข้อมูลค่ามาจากรหัสฟิลด์จากแบบฟอร์มก่อนหน้านี้

Field Value Passover Method

  • ผนวกไปยัง URL(Append to URL)

  • เป็นพารามิเตอร์คำขอ URL (As URL Request Parameter)

Request Parameter Name
Parameter name to hold the value retrieved using

ชื่อพารามิเตอร์ที่จะเก็บค่าที่เรียกใช้ "Field Name For URL Redirect Value Passover"

 


Figure รูปที่ 4: Form Properties - UI

Name
ชื่อ
Description
คำอธิบาย
Submit Button Label
Submit Button Label.

ชื่อปุ่มส่ง

Default Value: บันทึก (Save)

Cancel Button Label
Cancel Button Label.


ชื่อปุ่มยกเลิก
Default Value: ยกเลิก (Cancel)


Info
The Cancel button will only appear when

ปุ่มยกเลิกจะปรากฏขึ้นเมื่อตั้งค่า "URL Redirect on Cancellation"

is set.

เท่านั้น



Custom Header
Custom Header in

ส่วนหัวที่กำหนดเองใน HTML

.

Custom Footer
Custom Footer in

ส่วนท้ายแบบกำหนดเองใน HTML

.

 


Figure รูปที่ 5: Form Properties - Advanced

NameDescription
Userview Key Name
When set to point to a corresponding form input name, the userview key value will be set into the particular field.

เมื่อตั้งค่าให้ชี้ไปที่ชื่อการป้อนข้อมูลแบบฟอร์มที่สอดคล้องกับค่าคีย์ ของ Userview จะถูกตั้งค่าไว้ในฟิลด์เฉพาะ

Info
titleExample

Userview Key Value: hello

Userview Key Name: expenses_detail_hr_expense_new_title

Image Modified

Load Data Using Userview Key?
When checked, record row will be loaded into the form using the userview key value. The "Userview Key Name" expected is "id" to facilitate record seeking using the primary key.

 

 

...

เมื่อเลือกฟิลด์ แถวเรกคอร์ดจะถูกโหลดลงในแบบฟอร์มโดยใช้ค่าคีย์ Userview "รหัสคีย์ Userview" ที่คาดไว้คือ "id" เพื่ออำนวยความสะดวกในการบันทึกการใช้คีย์หลัก