Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thai

ขั้นตอนที่ 1: สร้างแบบฟอร์มการค้นหา

  • English
    Create a new form and pre-populate the "id" with current user username. This is so that the calendar menu would be able to locate the exact search value using current logged in user's ID later on.
    Thai

    สร้างแบบฟอร์มใหม่และเติม "id" ด้วยชื่อผู้ใช้ปัจจุบัน นี่คือเพื่อให้เมนูปฏิทินจะสามารถค้นหาค่าการค้นหาที่แน่นอนโดยใช้ ID ผู้ใช้ที่ล็อกอินปัจจุบันในภายหลัง

...

Thai

ขั้นตอนที่ 3: กำหนดค่าปฏิทินเพื่อกรอง

Image Modified

  • Make use of binder such as "Advanced Form Data Binder".

    Thai

    ใช้ประโยชน์จากสารยึดเกาะเช่น "Advanced Data Data Binder"

  • Under "Filter Conditions", add in as much row as needed to.

    Thai

    ภายใต้ "เงื่อนไขการกรอง" ให้เพิ่มแถวมากเท่าที่จำเป็น

  • Choose the appropriate field that you want to filter.

    Thai

    เลือกฟิลด์ที่เหมาะสมที่คุณต้องการกรอง

  • Set operator to "Like" to return matching value.

    Thai

    ตั้งค่าโอเปอเรเตอร์เป็น "ถูกใจ" เพื่อคืนค่าการจับคู่

  • And, in value, we can make use of form hash variable to obtain the value from the search form.

    Thai

    และตามค่าเราสามารถใช้ตัวแปรแฮชฟอร์มเพื่อรับค่าจากฟอร์มการค้นหา

    Code Block
    titleSample Value
    %#form.j_meetingsearch.title[{currentUser.id}]#%

...