Skip to main content

Get and set values

Display values are handled using standard getter and setters

  • getValue(fieldName)
  • setValue(fieldName,value)

Example

let a = getValue("NUMBER1");
let b = getValue("NUMBER2");
setValue( "RESULT", (a-b) );

For explicitly getting a value (or ID) use

  • getDecimal(fieldName)

Example

let recordId = getDecimal("SELECTRECORD");

For explicitly getting a datetime use

  • getFieldTime(fieldName)

Example

const time = new Date(getFieldTime('DEADLINE'));