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().
- id – element identifier
- value – new value to assign