changeElementValue( 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. For example, clicking a button on the screen may trigger an option number to be entered into an input field and the enter key to be pressed automatically. Â This function is identical to pui.set().
Parameters:
id – element identifier
value – new value to assign
Example:
changeElementValue("TextBox1", "IT Manager"); // places IT Manager in textbox with id: TextBox1
changeElementValue("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!