pui.set( id, value )
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
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!