Versions Compared

Key

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

...

  • URL : /jw/js/json/util.js

  • English
    Auto included in all userview pages.
    Chinese

    自动包含在所有用户视图页面中。

    Thai

    อัตโนมัติรวมอยู่ในหน้า userview ทั้งหมด

  • Used to deal with assignment of a logged in user.

    Chinese

    用于处理登录用户的分配。

    Thai

    ใช้เพื่อจัดการกับการมอบหมายของผู้ใช้ที่เข้าสู่ระบบ

    Warning

    Chromium has a more strict CORS policy. Therefore the Javascript execution from another domain to attempt to set the session cookie to the Joget domain has been blocked.

completeAssignment(baseUrl, activityId, redirect)

...

Code Block
languagejs
var value = FormUtil.getValue("field1");

// you could also use it to get value from a subform
// FormUtil.getValue("subformElementId_subformTargetFormId_subformFieldID")

// using Expenses Claim App as an example, and you are in the ExpensesClaim form and wish to get the title value from the subform
// parent form ID = ExpensesClaim
// subform ID in parent form = sfD
// child form ID = ExpensesClaimNew
// the field ID = title

var value = FormUtil.getValue("sfD_ExpensesClaimNew_title");

getValues(fieldId)

Description

...