Steve,By wrapping the execute in an if statement you can tell if it managed to execute correctly or failed.if (this.parent.parent.execValidate()) {this.parent.parent.presence = "hidden";Question2.presence = "visible";xfa.host.setFocus("Header.FocusField");}Will only move on to the next question if t...
Hi all,I'm using a script in teh validate event to determine a false or true response and then when all the checking has been done I use:if (matchFound) {return true;}However this is coming up with the error message:Error: Illegal 'return' outside of a function body, Line:21Now obviously this means ...
B.I.N.G.O.var correctEntry = false;for (var i = 0; i < this.length; i++) {if (this.getItemState(i) == 1 ) {correctEntry = true;}}if (correctEntry == false) {xfa.host.messageBox ("This entry does not match an item: " + this.rawValue);xfa.host.setFocus ("this");}Hope this can be of help to someone els...
When I select the option: Allow Custom Text Entry, it will shorten the list of available options to match what you are typing in.However it will also pass if you enter any value into the field.Working on a script that will force the value to meet one of the available values from the drop down list.T...
Another DDL request from my users:Can the text entry allow more than 1 character to find an item?At the moment, if you type in V, then A, it will go to the top A record.Regards,Tom