Do you find this script useful?
Yes
No
Comments?
Browse choices
When the box having a script name "box1" gets focus, such as when you tab to it, the validation list for that field appears. The field must have a validation list and be editable. To make this work for more than one box, make copies of this function for each one and change the function names to substitute the script name for each box in turn.
Script Language: JavaScript For use with:
DB/TextWorks
DB/SearchWorks
DB/Text Run-time
Requires at least version 4.1
function box1_onFocus()
{
  Command.browseChoices();
}
Notes: Avoid using this function in an edit screen if you also use the spell-checker. The spell-checker moves focus to each box in the form in turn, even those containing fields that the spell-checker has been told to skip. This script function will therefore be triggered whenever the spell-checker is called.
Submitted by Inmagic Staff on 11/30/2000

Powered by DB/Text WebPublisher, from Inmagic WebPublisher PRO