I need to set a bunch of items to blank based on a handler
FORM API States
IWItem.setValue (value)
Sets the value of this item. Note that you can set the value of an item that is currently read-only, but you must redraw the form to change the display.
This method is not applicable to replicant or container items.
Arguments:
value
For text, textarea, browser, and hidden items, value is a string representing the new value.
For single select and radio button items, value is the number of the (zero-based) index of the option to select.
For multiple select and checkbox items, value is an array of numbers of the (zero-based) indices of the options to select.
An invalid argument does nothing.
Returns:
Nothing..For a text...I does this
item.setValue('');
For a Multi selectbox...I does this
var myArray = new Array();
item.setValue(myArray);
For a single select I tried these options but I don't want anything selected.
item.setValue(0);
item.setValue(null);
Also while I have you attentionnn
is there and easierr way to set items to nothing like maybe this
item.setValue();
The Professor-