Answered
Having trouble getting a button (initial property is Hidden), to it's initial state after it becomes visible. Here's the following code in the Custom Keystroke Script:
var dialogButton = this.getField("Button1");
if( event.willCommit )
{
if(event.value == " ")
this.resetForm(["field1", "field2", "field3", "field4", "field5", "field6"]);
else
setFieldValues(event.value);
dialogButton.display=display.visible;
}
I've tried adding the statement: dialogButton.display=display.hidden; after
this.resetForm statement and also tried adding the "Button1" value into the this.resetForm arguments. But it's not working when I select the empty space value in the combo box.
George Kaiser