Versions Compared

Key

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

...

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 = titlevartitle

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

...