Page tree
Skip to end of metadata
Go to start of metadata

This function assigns a new value to a field. It can be used with both output fields and input elements to automate and simulate user input.  This function is identical to changeElementValue().

Parameters:

  • id – element identifier
  • value – new value to assign

Example:

pui.set("TextBox1", "IT Manager");      // places IT Manager in textbox with id: TextBox1

pui.set("TextBox1", "");                // clear textbox